Contribution for Bug352466: [TMF] Implement UML2 Sequence Diagram
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.ui / src / org / eclipse / linuxtools / tmf / ui / views / uml2sd / handlers / provider / ISDGraphNodeSupporter.java
CommitLineData
73005152
BH
1/**********************************************************************
2 * Copyright (c) 2005, 2006, 2011 IBM Corporation and others.
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
7 * $Id: ISDGraphNodeSupporter.java,v 1.2 2006/09/20 20:56:26 ewchan Exp $
8 *
9 * Contributors:
10 * IBM - Initial API and implementation
11 * Bernd Hufmann - Updated for TMF
12 **********************************************************************/
13package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
14
15/**
16 * Sequence Diagram loaders which implement this class provide the actions for finding or filtering the sequence
17 * diagram. This interface also allow the implementor to set which action/feature are supported
18 *
19 * Action provider are associated to a Sequence Diagram SDWidget calling SDViewer.setSDFindProvider() or
20 * SDViewer.setSDFilterProvider
21 *
22 * @author sveyrier
23 *
24 */
25public abstract interface ISDGraphNodeSupporter {
26
27 public static int LIFELINE = 0;
28 public static int SYNCMESSAGE = 1;
29 public static int SYNCMESSAGERETURN = 2;
30 public static int ASYNCMESSAGE = 3;
31 public static int ASYNCMESSAGERETURN = 4;
32 public static int STOP = 5;
33
34 /**
35 * Return true to enable this options, false otherwise
36 *
37 * @return true to enable this options, false otherwise
38 */
39 public boolean isNodeSupported(int nodeType);
40
41 /**
42 * Return the name to use in dialogs Not called if isNodeSupported return false
43 *
44 * @return the name to use in dialogs
45 */
46 public String getNodeName(int nodeType, String loaderClassName);
47}
This page took 0.025514 seconds and 5 git commands to generate.