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
.handlers
.provider
;
17 * Interface for providing a graph node supporter.
19 * Sequence Diagram loaders which implement this class provide the actions for finding or filtering the sequence
20 * diagram. This interface also allow the implementor to set which action/feature are supported
22 * Action provider are associated to a Sequence Diagram SDWidget calling <code>SDViewer.setSDFindProvider()</code> or
23 * <code>SDViewer.setSDFilterProvider()</code>.
29 public abstract interface ISDGraphNodeSupporter
{
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
38 public static int LIFELINE
= 0;
40 * Synchronous message support ID
42 public static int SYNCMESSAGE
= 1;
44 * Synchronous message return support ID
46 public static int SYNCMESSAGERETURN
= 2;
48 * Asynchronous message support ID
50 public static int ASYNCMESSAGE
= 3;
52 * Asynchronous message return support ID
54 public static int ASYNCMESSAGERETURN
= 4;
58 public static int STOP
= 5;
60 // ------------------------------------------------------------------------
62 // ------------------------------------------------------------------------
65 * Return true to enable this options, false otherwise
67 * @return true to enable this options, false otherwise
69 public boolean isNodeSupported(int nodeType
);
72 * Return the name to use in dialogs Not called if isNodeSupported return false
74 * @return the name to use in dialogs
76 public String
getNodeName(int nodeType
, String loaderClassName
);
This page took 0.032483 seconds and 6 git commands to generate.