1 /**********************************************************************
2 * Copyright (c) 2005, 2006 IBM Corporation and others.
3 * Copyright (c) 2011, 2012 Ericsson.
5 * All rights reserved. This program and the accompanying materials
6 * are made available under the terms of the Eclipse Public License v1.0
7 * which accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
11 * IBM - Initial API and implementation
12 * Bernd Hufmann - Updated for TMF
13 **********************************************************************/
14 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.uml2sd
.core
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfTimestamp
;
19 * Class implementation of a sequence diagram time event.
25 public class SDTimeEvent
{
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
32 * The time stamp of the event
34 protected ITmfTimestamp time
;
40 * The time range implementing node.
42 protected ITimeRange node
;
44 // ------------------------------------------------------------------------
46 // ------------------------------------------------------------------------
48 * The default constructor.
50 * @param _time The time stamp of the event.
51 * @param _event The event index.
52 * @param _node The time range implementing node.
54 public SDTimeEvent(ITmfTimestamp _time
, int _event
, ITimeRange _node
) {
60 // ------------------------------------------------------------------------
62 // ------------------------------------------------------------------------
64 * Returns the timestamp of the event.
66 * @return the timestamp of the event.
68 public ITmfTimestamp
getTime() {
73 * Returns the event index.
75 * @return the event index.
77 public int getEvent() {
82 * Returns the time range implementing node.
84 * @return the time range implementing node.
86 public ITimeRange
getGraphNode() {
This page took 0.03236 seconds and 5 git commands to generate.