public class GanttViewerInsertConstraintAction extends ViewerAbstractAction
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
ID of the action.
|
SELECTED_KEY
Constructor and Description |
---|
GanttViewerInsertConstraintAction(Viewer viewer)
Builds a
GanttViewerInsertConstraintAction . |
Modifier and Type | Method and Description |
---|---|
javax.swing.KeyStroke |
getAccelerator()
Returns the accelerator.
|
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 |
getLongDescription()
Returns long description.
|
java.lang.String |
getShortDescription()
Returns short description.
|
void |
setLongDescription(java.lang.String longDesc)
Returns long description.
|
void |
setShortDescription(java.lang.String shortDesc)
Returns short description.
|
actionPerformed, getID, getViewer, isAvailable
getAcceleratorText, getIcon, getMnemonic, getName, setAccelerator, setIcon, setIcon, setMnemonic, setName
public static final java.lang.String ID
public GanttViewerInsertConstraintAction(Viewer viewer)
GanttViewerInsertConstraintAction
.viewer
- The viewer.public ilog.views.gantt.action.IlvAction getContextualAction(java.lang.Object component)
ViewerAbstractAction
getContextualAction
in class ViewerAbstractAction
component
- The component on which the action will work.ViewerAbstractAction.
public javax.swing.KeyStroke getAccelerator()
getAccelerator
in class ilog.views.gantt.action.IlvAction
public java.lang.String getShortDescription()
getShortDescription
in class ilog.views.gantt.action.IlvAction
public java.lang.String getLongDescription()
getLongDescription
in class ilog.views.gantt.action.IlvAction
public void setShortDescription(java.lang.String shortDesc)
setShortDescription
in class ilog.views.gantt.action.IlvAction
public void setLongDescription(java.lang.String longDesc)
setLongDescription
in class ilog.views.gantt.action.IlvAction