|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.SetDateAction.SetDate
public static class SetDateAction.SetDate
Sample command setDate - set the sequence-numbers date in the selected range. Use this command to modify the textual part of the sequence numbers in all the currently-selected visible lines. If you do not specify the new text via the command parameter, you will be prompted for it. Note that LPEX doesn't record changes to the sequence numbers in its undo stack.
This is an alternative to the setDate sample action, for cases in which the user prefers the command approach, or is running out of available keys to assign to actions.
Defined as a separate, named class inside SetDateAction
(where
you can also see its
source code), it can be registered in the editor with, for example:
set commandClass.setDate com.ibm.lpex.samples.SetDateAction$SetDateand run from the command line:
setDate [ newDate ]
Constructor Summary | |
---|---|
SetDateAction.SetDate()
|
Method Summary | |
---|---|
boolean |
doCommand(LpexView lpexView,
String parameters)
Runs this command. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetDateAction.SetDate()
Method Detail |
---|
public boolean doCommand(LpexView lpexView, String parameters)
doCommand
in interface LpexCommand
lpexView
- the document view in which the command was issuedparameters
- optional new date to set
|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |