33dceca3c97115d48b7865048ae9aeff6a6e7436
1 /**********************************************************************
2 * Copyright (c) 2005, 2014 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
.tracecompass
.tmf
.ui
.views
.uml2sd
.handlers
.provider
;
16 * Interface for providing a graph node supporter.
18 * Sequence Diagram loaders which implement this class provide the actions for finding or filtering the sequence
19 * diagram. This interface also allow the implementor to set which action/feature are supported
21 * Action provider are associated to a Sequence Diagram SDWidget calling <code>SDViewer.setSDFindProvider()</code> or
22 * <code>SDViewer.setSDFilterProvider()</code>.
28 public interface ISDGraphNodeSupporter
{
30 // ------------------------------------------------------------------------
32 // ------------------------------------------------------------------------
37 static int LIFELINE
= 0;
39 * Synchronous message support ID
41 static int SYNCMESSAGE
= 1;
43 * Synchronous message return support ID
45 static int SYNCMESSAGERETURN
= 2;
47 * Asynchronous message support ID
49 static int ASYNCMESSAGE
= 3;
51 * Asynchronous message return support ID
53 static int ASYNCMESSAGERETURN
= 4;
59 // ------------------------------------------------------------------------
61 // ------------------------------------------------------------------------
64 * Return true to enable this options, false otherwise
67 * The integer value matching the type of the node
68 * @return true to enable this options, false otherwise
70 boolean isNodeSupported(int nodeType
);
73 * Return the name to use in dialogs Not called if isNodeSupported return
77 * The integer value matching the type of the node
78 * @param loaderClassName
79 * The name of the loader class
80 * @return the name to use in dialogs
82 String
getNodeName(int nodeType
, String loaderClassName
);
This page took 0.033869 seconds and 4 git commands to generate.