Class AddonAdapter
java.lang.Object
org.graffiti.plugin.GenericPluginAdapter
org.graffiti.plugin.EditorPluginAdapter
de.ipk_gatersleben.ag_nw.graffiti.IPK_EditorPluginAdapter
de.ipk_gatersleben.ag_nw.graffiti.plugins.addons.AddonAdapter
- All Implemented Interfaces:
EditorPlugin,GenericPlugin
- Direct Known Subclasses:
SBML_XML_ReaderWriterPlugin
public abstract class AddonAdapter extends IPK_EditorPluginAdapter
Use to set up the Add-on initialization and icon.
- Author:
- Hendrik Rohn
- Recent revisions:
- 2.6.5
-
Field Summary
Fields inherited from class org.graffiti.plugin.EditorPluginAdapter
tools -
Constructor Summary
Constructors Constructor Description AddonAdapter()Default constructor. -
Method Summary
Methods inherited from class org.graffiti.plugin.EditorPluginAdapter
getAttributeComponents, getGUIComponents, getInspectorTabs, getModes, getShapes, getTools, getValueEditComponentsMethods inherited from class org.graffiti.plugin.GenericPluginAdapter
configure, doBeforeExit, getAddonIcon, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getGraphPostProcessors, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, setIsAddon, stopMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.graffiti.plugin.GenericPlugin
configure, doBeforeExit, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSelectionListener, isSessionListener, isViewListener, needsEditComponents, stop
-
Constructor Details
-
AddonAdapter
Default constructor. Does initialization of the Add-on.- Throws:
AddonInstantiationRuntimeException- when Add-on couldn't be initialized
-
-
Method Details
-
getIcon
Override to add custom Add-on icon.- Specified by:
getIconin interfaceGenericPlugin- Overrides:
getIconin classIPK_EditorPluginAdapter- Returns:
- the default plugin icon for a plugin implementation, which does not overwrite this method.
-