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 FormlayerContainerchangeSupport, enabledACCELERATOR_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, setLayerContainergetToolTipText, setToolTipTextaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabledpublic DeleteTimelineObjectAction(LayerContainer lc)
lc - the layer container on which to invoke the actionpublic boolean isEnabled()
isEnabled in interface ActionisEnabled in class AbstractActionpublic void actionPerformed(ActionEvent evt)
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.