/**********************************************************************
- * Copyright (c) 2005, 2006 IBM Corporation and others.
- * Copyright (c) 2011, 2012 Ericsson.
- *
+ * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * IBM - Initial API and implementation
- * Bernd Hufmann - Updated for TMF
+ *
+ * Contributors:
+ * IBM - Initial API and implementation
+ * Bernd Hufmann - Updated for TMF
**********************************************************************/
+
package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider;
/**
* Interface for providing a graph node supporter.
- *
+ *
* Sequence Diagram loaders which implement this class provide the actions for finding or filtering the sequence
* diagram. This interface also allow the implementor to set which action/feature are supported
- *
+ *
* Action provider are associated to a Sequence Diagram SDWidget calling <code>SDViewer.setSDFindProvider()</code> or
* <code>SDViewer.setSDFilterProvider()</code>.
- *
+ *
* @version 1.0
* @author sveyrier
- *
+ *
*/
public abstract interface ISDGraphNodeSupporter {
/**
* Return true to enable this options, false otherwise
- *
+ *
+ * @param nodeType
+ * The integer value matching the type of the node
* @return true to enable this options, false otherwise
*/
public boolean isNodeSupported(int nodeType);
/**
- * Return the name to use in dialogs Not called if isNodeSupported return false
- *
+ * Return the name to use in dialogs Not called if isNodeSupported return
+ * false
+ *
+ * @param nodeType
+ * The integer value matching the type of the node
+ * @param loaderClassName
+ * The name of the loader class
* @return the name to use in dialogs
*/
public String getNodeName(int nodeType, String loaderClassName);