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 $
10 * IBM - Initial API and implementation
11 * Bernd Hufmann - Updated for TMF
12 **********************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.ui
.views
.uml2sd
.handlers
.provider
;
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
19 * Action provider are associated to a Sequence Diagram SDWidget calling SDViewer.setSDFindProvider() or
20 * SDViewer.setSDFilterProvider
25 public abstract interface ISDGraphNodeSupporter
{
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;
35 * Return true to enable this options, false otherwise
37 * @return true to enable this options, false otherwise
39 public boolean isNodeSupported(int nodeType
);
42 * Return the name to use in dialogs Not called if isNodeSupported return false
44 * @return the name to use in dialogs
46 public String
getNodeName(int nodeType
, String loaderClassName
);
This page took 0.031484 seconds and 6 git commands to generate.