public class DeleteTimelineObjectAction extends AbstractLayerContainerAction
IEditTimelineObjectPolicy
to determine whether an
object can be deleted.LayerContainer.deleteSelectedTimelineObjects()
,
ITimelineObject.isDeletable()
,
IEditTimelineObjectPolicy.isDeletable(com.dlsc.flexgantt.model.gantt.TimelineObjectPath,
IGanttChartModel)
,
IEditTimelineObjectPolicy.getDeleteCommand(IGanttChartModel,
java.util.Collection)
,
Serialized FormlayerContainer
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 |
---|
DeleteTimelineObjectAction(LayerContainer lc)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
boolean |
isEnabled() |
getLayerContainer, setLayerContainer
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
public DeleteTimelineObjectAction(LayerContainer lc)
lc
- the layer container on which to invoke the actionpublic boolean isEnabled()
isEnabled
in interface Action
isEnabled
in class AbstractAction
public void actionPerformed(ActionEvent evt)
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.