Class IPK_StandardTools
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.gui.editing_tools.IPK_StandardTools
- All Implemented Interfaces:
EditorPlugin,GenericPlugin,ViewListener,SessionListener
public class IPK_StandardTools extends IPK_EditorPluginAdapter implements ViewListener, SessionListener
This plugin contains the modified standard editing tools. Because the
StandardTools use private (and not protected) variables for the Tools, I
decided to copy the source and modify the 3 calls for the Tool-Creation. As
no advanced functionality is provided by the plugin code itself, this should
be ok for now.
- Version:
- $Revision$
- Author:
- Christian Klukas
-
Field Summary
Fields inherited from class org.graffiti.plugin.EditorPluginAdapter
tools -
Constructor Summary
Constructors Constructor Description IPK_StandardTools()Creates a new StandardTools object. -
Method Summary
Modifier and Type Method Description voidconfigure(Preferences preferences)Sets the preferences in all tools this plugin provides.booleanisSessionListener()States whether this class wants to be registered as aSessionListener.booleanisViewListener()States whether this class wants to be registered as aViewListener, i.e.voidsessionChanged(Session s)This method is called when the session changes.voidsessionDataChanged(Session s)This method is called when the data (except the graph data) are changed.voidviewChanged(View newView)This method is called when the view changes.Methods inherited from class de.ipk_gatersleben.ag_nw.graffiti.IPK_EditorPluginAdapter
getIconMethods inherited from class org.graffiti.plugin.EditorPluginAdapter
getAttributeComponents, getGUIComponents, getInspectorTabs, getModes, getShapes, getTools, getValueEditComponentsMethods inherited from class org.graffiti.plugin.GenericPluginAdapter
doBeforeExit, getAddonIcon, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getGraphPostProcessors, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSelectionListener, 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
doBeforeExit, getAlgorithms, getAttributeDescriptions, getAttributes, getDefaultView, getDependencies, getExtensions, getInputSerializers, getOutputSerializers, getURLattributeActions, getViews, interrupt, isSelectionListener, needsEditComponents, stop
-
Constructor Details
-
IPK_StandardTools
public IPK_StandardTools()Creates a new StandardTools object.
-
-
Method Details
-
configure
Sets the preferences in all tools this plugin provides.- Specified by:
configurein interfaceGenericPlugin- Overrides:
configurein classGenericPluginAdapter- Parameters:
preferences- the preferences node for this plugin.- See Also:
GenericPlugin.configure(Preferences)
-
viewChanged
Description copied from interface:ViewListenerThis method is called when the view changes. This method is not called when another session is activated. ImplementSessionListenerif you are interested in session changed events.- Specified by:
viewChangedin interfaceViewListener- Parameters:
newView- the new View.
-
isViewListener
public boolean isViewListener()Description copied from interface:GenericPluginStates whether this class wants to be registered as aViewListener, i.e. if it wants to get informed when another view in the same session becomes active. This method is not called when another session is activated. ImplementSessionListenerif you are interested in session changed events.- Specified by:
isViewListenerin interfaceGenericPlugin- Overrides:
isViewListenerin classGenericPluginAdapter- Returns:
- DOCUMENT ME!
- See Also:
GenericPlugin.isViewListener()
-
isSessionListener
public boolean isSessionListener()Description copied from class:GenericPluginAdapterStates whether this class wants to be registered as aSessionListener.- Specified by:
isSessionListenerin interfaceGenericPlugin- Overrides:
isSessionListenerin classGenericPluginAdapter- Returns:
- DOCUMENT ME!
-
sessionChanged
Description copied from interface:SessionListenerThis method is called when the session changes.- Specified by:
sessionChangedin interfaceSessionListener- Parameters:
s- the new Session.
-
sessionDataChanged
Description copied from interface:SessionListenerThis method is called when the data (except the graph data) are changed.- Specified by:
sessionDataChangedin interfaceSessionListener
-