public class IlpCreateLinkAction extends IlpCreateObjectAction
OBJECT_ID_PROPERTY
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 |
---|
IlpCreateLinkAction(Class clazz)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent event)
Executes the action.
|
protected IlpAttributeGroup |
getLinkAttributeGroup(IlpCreateLinkActionEvent event)
Returns the attribute group for the link business object that will
be created by this action.
|
getRepresentationObjectClass
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
public IlpCreateLinkAction(Class clazz)
Specifies which representation object implementation class should be used.
clazz
- A class implementing IlpRepresentationLink
interface.protected IlpAttributeGroup getLinkAttributeGroup(IlpCreateLinkActionEvent event)
By default, the attribute group used is IltLink
.
event
- Event that is generated when the creation of a link object is requested.public void actionPerformed(ActionEvent event)
event
- An IlpCreateLinkActionEvent
.© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.