public abstract class ViewerAbstractAction
extends ilog.views.gantt.action.IlvAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SELECTED_KEY
Selected state constant.
|
Constructor and Description |
---|
ViewerAbstractAction(Viewer viewer,
java.lang.String iD,
java.lang.String name)
Builds a
ViewerAbstractAction . |
ViewerAbstractAction(Viewer viewer,
java.lang.String iD,
java.lang.String name,
javax.swing.Icon icon)
Builds a
ViewerAbstractAction . |
ViewerAbstractAction(Viewer viewer,
java.lang.String iD,
java.lang.String name,
javax.swing.Icon icon,
javax.swing.KeyStroke key)
Builds a
ViewerAbstractAction . |
ViewerAbstractAction(Viewer viewer,
java.lang.String iD,
java.lang.String name,
javax.swing.Icon icon,
javax.swing.KeyStroke key,
java.lang.String shortDescription,
java.lang.String longDescription)
Builds a
ViewerAbstractAction . |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
abstract ilog.views.gantt.action.IlvAction |
getContextualAction(java.lang.Object component)
Returns the action that will run on the main component of the view.
|
java.lang.String |
getID()
Returns the ID.
|
Viewer |
getViewer()
Returns the viewer involved.
|
boolean |
isAvailable()
Indicates whether this action is currently available.
|
getAccelerator, getAcceleratorText, getIcon, getLongDescription, getMnemonic, getName, getShortDescription, setAccelerator, setIcon, setIcon, setLongDescription, setMnemonic, setName, setShortDescription
public static final java.lang.String SELECTED_KEY
public ViewerAbstractAction(Viewer viewer, java.lang.String iD, java.lang.String name)
ViewerAbstractAction
.viewer
- The viewer.iD
- Action ID.name
- Action name.public ViewerAbstractAction(Viewer viewer, java.lang.String iD, java.lang.String name, javax.swing.Icon icon)
ViewerAbstractAction
.viewer
- The viewer.iD
- Action ID.name
- Action name.icon
- Action icon.public ViewerAbstractAction(Viewer viewer, java.lang.String iD, java.lang.String name, javax.swing.Icon icon, javax.swing.KeyStroke key)
ViewerAbstractAction
.viewer
- The viewer.iD
- Action ID.name
- Action name.icon
- Action icon.key
- Action keystroke.public ViewerAbstractAction(Viewer viewer, java.lang.String iD, java.lang.String name, javax.swing.Icon icon, javax.swing.KeyStroke key, java.lang.String shortDescription, java.lang.String longDescription)
ViewerAbstractAction
.viewer
- The viewer.iD
- Action ID.name
- Action name.icon
- Action icon.key
- Action keystroke.shortDescription
- Action short description.longDescription
- Action long description.public Viewer getViewer()
public java.lang.String getID()
public void actionPerformed(java.awt.event.ActionEvent e)
IlvAction.
public abstract ilog.views.gantt.action.IlvAction getContextualAction(java.lang.Object component)
component
- The component on which the action will work.public boolean isAvailable()