|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.ibm.lpex.samples.TestCommand
This class is a sample command implementation. Running this command will display a short message on the editor message line.
Here is the TestCommand code.
To run this sample:
javac TestCommand.java
set commandClass.testCommand com.ibm.lpex.samples.TestCommand
testCommand message
LpexCommand,
LpexView| Constructor Summary | |
TestCommand()
|
|
| Method Summary | |
boolean |
doCommand(LpexView lpexView,
java.lang.String parameters)
This method in the defined command will be called to run the command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestCommand()
| Method Detail |
public boolean doCommand(LpexView lpexView,
java.lang.String parameters)
LpexCommanddoCommand in interface LpexCommandcom.ibm.lpex.core.LpexCommandlpexView - the document view in which the command was issuedparameters - the command parameters
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||