public abstract class IlpCreateObjectAction extends AbstractAction implements Action
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_ID_PROPERTY
This property stores the identifier of the object that has just
been created by this action.
|
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
IlpCreateObjectAction(Class clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Class |
getRepresentationObjectClass()
Returns the class implementing
IlpRepresentationNode . |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
public static final String OBJECT_ID_PROPERTY
ActionListener.actionPerformed(java.awt.event.ActionEvent)
.public IlpCreateObjectAction(Class clazz)
Specifies which representation object implementation class should be used.
clazz
- A class implementing IlpRepresentationNode
interface.protected Class getRepresentationObjectClass()
IlpRepresentationNode
.
Instances of this class will be created when this action is performed.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.