83b103090e0c92eda05bc1b1ecbdb534ba10b0a4
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
.timestamp
.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 fTimestamp
;
40 * The time range implementing node.
42 protected ITimeRange fNode
;
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.
55 public SDTimeEvent(ITmfTimestamp time
, int event
, ITimeRange node
) {
61 // ------------------------------------------------------------------------
63 // ------------------------------------------------------------------------
65 * Returns the timestamp of the event.
67 * @return the timestamp of the event.
70 public ITmfTimestamp
getTime() {
75 * Returns the event index.
77 * @return the event index.
79 public int getEvent() {
84 * Returns the time range implementing node.
86 * @return the time range implementing node.
88 public ITimeRange
getGraphNode() {
This page took 0.032061 seconds and 5 git commands to generate.