org.embl.ebi.escience.scuflui.actions
Class ModelObjectAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.embl.ebi.escience.scuflui.actions.ScuflModelAction
          extended by org.embl.ebi.escience.scuflui.actions.ModelObjectAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
EditMetadataAction, RemoveAction, RenameAction, SetDefaultValueAction

public abstract class ModelObjectAction
extends ScuflModelAction

Abstract class for action performed on an object within the ScuflModel, for instance a Processor or a Port.

Author:
Stian Soiland
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ModelObjectAction(ScuflModel model, java.lang.Object modelObject)
          Create an action for the given modelObject.
 
Method Summary
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Constructor Detail

ModelObjectAction

public ModelObjectAction(ScuflModel model,
                         java.lang.Object modelObject)
Create an action for the given modelObject.

Parameters:
model - Model containing modelObject
modelObject - Object in the model which the action is to be performed on.