d87cf58d1fbb76f8184abc1d9ce523e833e56247
1 /**********************************************************************
2 * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
9 * IBM - Initial API and implementation
10 * Bernd Hufmann - Updated for TMF
11 **********************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.uml2sd
.core
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.ITmfTimestamp
;
18 * Class implementation of a sequence diagram time event.
24 public class SDTimeEvent
{
26 // ------------------------------------------------------------------------
28 // ------------------------------------------------------------------------
31 * The time stamp of the event
33 protected ITmfTimestamp fTimestamp
;
39 * The time range implementing node.
41 protected ITimeRange fNode
;
43 // ------------------------------------------------------------------------
45 // ------------------------------------------------------------------------
47 * The default constructor.
49 * @param time The time stamp of the event.
50 * @param event The event index.
51 * @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.
69 public ITmfTimestamp
getTime() {
74 * Returns the event index.
76 * @return the event index.
78 public int getEvent() {
83 * Returns the time range implementing node.
85 * @return the time range implementing node.
87 public ITimeRange
getGraphNode() {
This page took 0.031259 seconds and 5 git commands to generate.