|
LPEX 3.6.8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.lpex.samples.ClockCommand
public class ClockCommand
Sample command clock - time the execution of an editor command. Note that the (wall clock) time displayed is approximate at best, and it might well reflect more of the Java class loading, memory management, garbage collection, and JIT progress than any actual LPEX command execution time. This command cannot replace a real tracing utility.
Here is the ClockCommand source code.
To run this sample:
set commandClass.clock com.ibm.lpex.samples.ClockCommand
clock parse all
All the samples
Constructor Summary | |
---|---|
ClockCommand()
|
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 ClockCommand()
Method Detail |
---|
public boolean doCommand(LpexView lpexView, String parameters)
doCommand
in interface LpexCommand
lpexView
- the document view in which the command was issuedparameters
- the editor command to run
|
LPEX 3.6.8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |