T
- the object type of the Gantt chartpublic class DeleteTimelineObjectAction<T extends AbstractGanttChart> extends AbstractGanttChartAction<T>
IEditTimelineObjectPolicy
to determine whether an
object can be deleted and also to lookup a command object that will perform
the actual deletion.LayerContainer.deleteSelectedTimelineObjects()
,
ITimelineObject.isDeletable()
,
IEditTimelineObjectPolicy.isDeletable(com.dlsc.flexgantt.model.gantt.TimelineObjectPath,
IGanttChartModel)
,
IEditTimelineObjectPolicy.getDeleteCommand(IGanttChartModel,
java.util.Collection)
,
Serialized FormganttChart
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(T gc)
Constructs a new action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent evt) |
findFocusedTable, getGanttChart, setGanttChart
getToolTipText, setToolTipText
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public DeleteTimelineObjectAction(T gc)
gc
- the Gantt chart on which to invoke the actionpublic void actionPerformed(ActionEvent evt)
Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.