Protege 4.1.0

org.protege.editor.core.ui.menu
Class NullMenuAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.protege.editor.core.ui.action.ProtegeAction
          extended by org.protege.editor.core.ui.menu.NullMenuAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action, Disposable, ProtegePluginInstance

public class NullMenuAction
extends ProtegeAction

Author: Matthew Horridge
The University Of Manchester
Medical Informatics Group
Date: Mar 29, 2006

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
NullMenuAction()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Invoked when an action occurs.
 void dispose()
          This method is called at the end of a plugin life cycle, when the plugin needs to be removed from the system.
 void initialise()
          The initialise method is called at the start of a plugin instance life cycle.
 
Methods inherited from class org.protege.editor.core.ui.action.ProtegeAction
getEditorKit, getWorkspace, setEditorKit
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullMenuAction

public NullMenuAction()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Invoked when an action occurs.


initialise

public void initialise()
The initialise method is called at the start of a plugin instance life cycle. This method is called to give the plugin a chance to intitialise itself. All plugin initialisation should be done in this method rather than the plugin constructor, since the initialisation might need to occur at a point after plugin instance creation, and a each plugin must have a zero argument constructor.


dispose

public void dispose()
This method is called at the end of a plugin life cycle, when the plugin needs to be removed from the system. Plugins should remove any listeners that they setup and perform other cleanup, so that the plugin can be garbage collected.


Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research