|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.SetDateAction
Sample action setDate - set the sequence-numbers date in selected range. Use this action to modify the textual part of the sequence numbers in all the currently-selected visible lines. The user is prompted for the new date.
Here is the SetDateAction source code.
To run this sample:
set actionClass.setDate com.ibm.lpex.samples.SetDateAction
action setDateor associate it with a key:
set keyAction.c-t setDate
Field Summary | |
---|---|
static LpexAction | setDateAction
Variation of SetDateAction that can be used when our doSetDate command has already been defined in that view. |
static LpexCommand | setDateCommand
Command to set the sequence-numbers text, passed in parameters, in all the visible selected lines, or in the current line if no selection. |
Constructor Summary | |
---|---|
SetDateAction()
|
Method Summary | |
---|---|
boolean | available(LpexView lpexView)
Returns the availability of this action. |
void | doAction(LpexView lpexView)
Runs the action. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static LpexAction setDateAction
public static LpexCommand setDateCommand
Constructor Detail |
public SetDateAction()
Method Detail |
public void doAction(LpexView lpexView)
public boolean available(LpexView lpexView)
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |