public class DeleteEventlineObjectAction extends AbstractEventlineAction
Eventline
to delete
eventline object. The action will delete all objects that are currently
selected in the eventline. The action uses IEditEventlineObjectPolicy
to determine whether an object is deletable and which command object to use
to actually delete it.IEditEventlineObjectPolicy.isDeletable(Object, IEventlineModel)
,
IEditEventlineObjectPolicy.getDeleteCommand(Collection, IEventlineModel)
,
Serialized Formeventline
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 |
---|
DeleteEventlineObjectAction(Eventline eventline)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
getEventline, setEventline
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public DeleteEventlineObjectAction(Eventline eventline)
eventline
- the eventline on which the action will be performedpublic void actionPerformed(ActionEvent evt)
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.