com.sas.console.plugins
Class AbstractNavigationPlugin
java.lang.Object
|
+--com.sas.console.plugins.AbstractPlugin
|
+--com.sas.console.plugins.AbstractNavigationPlugin
- All Implemented Interfaces:
- PluginInterface, PluginNavigationInterface
- Direct Known Subclasses:
- Plugin
- public abstract class AbstractNavigationPlugin
- extends AbstractPlugin
- implements PluginNavigationInterface
This is a basic implementation of the PluginNavigationInterface.
| Methods inherited from class com.sas.console.plugins.AbstractPlugin |
addPluginChangeListener, dispose, firePluginChange, getAbout, getConsole, getDescription, getIcon, getIcon, getName, initPlugin, needsConnection, removePluginChangeListener, setDescription, setIcon, setName, toString |
m_strCategoryID
protected String m_strCategoryID
- The category where this plugin should appear.
m_rootNode
protected NodeInterface m_rootNode
- The root node for this Plug-in.
AbstractNavigationPlugin
public AbstractNavigationPlugin(ConsoleInterface console)
- Constructor
- Parameters:
console - the console interface
supportsDropOperations
public abstract boolean supportsDropOperations()
- Tells whether or not the plugin accepts drop operations
via Drag and Drop
- Specified by:
supportsDropOperations in interface PluginNavigationInterface
- Returns:
- Whether or not plugin accepts drops
getCategoryID
public String getCategoryID()
- Returns the category contexts where this node appears. Categories are used
to subset plugins into logicaly similar areas.
- Specified by:
getCategoryID in interface PluginNavigationInterface
- Returns:
- String representations of this node's category ID.
_setCategoryID
protected void _setCategoryID(String strCategoryID)
- Sets the category context of this node to the existing categories.
Categories are used to subset plugins into logicaly similar areas.
- Parameters:
strCategoryID - String representation of this node's category.
getRootNode
public NodeInterface getRootNode()
- Returns the root node for the Plug-in.
- Specified by:
getRootNode in interface PluginNavigationInterface
- Returns:
- The plugin's root node.
setRootNode
public void setRootNode(NodeInterface rootNode)
- Sets the root node for the Plug-in.
- Parameters:
rootNode - The root node.
getTooltip
public String getTooltip()
- Gets a tooltip to display in the navigation tree.
The limit on these should be 20 characters. Longer strings will
be truncated.
- Specified by:
getTooltip in interface PluginNavigationInterface
- Returns:
- 20 character or shorter string for a tooltip
Copyright © 2001-2003 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 15:59:52