|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.lpex.samples.NestingCommand
public class NestingCommand
Sample command nesting - display block limits in the source. This is an example of custom drawing in the prefix area margin. Run this command with the cursor positioned on a block-delimiter bracket (for example, '{' or '}' in a C/C++ source document) to display the limits of the included blocks (up to a given level) as defined by the selected bracket.
Here is the NestingCommand source code.
To run this sample:
set commandClass.nesting com.ibm.lpex.samples.NestingCommand
nesting [on | off]
All the samples| Constructor Summary | |
|---|---|
NestingCommand()
|
|
| 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 NestingCommand()
| Method Detail |
|---|
public boolean doCommand(LpexView lpexView,
String parameters)
doCommand in interface LpexCommandlpexView - the document view in which the command was issuedparameters - optional parameter "on" / "off" / "?"
|
LPEX 4.4.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||