com.ibm.etools.iseries.edit.commands
Class ShowNestingCommand
java.lang.Object
com.ibm.etools.iseries.edit.commands.ShowNestingCommand
public class ShowNestingCommand
- extends Object
nesting - displays 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.
To run this sample:
- See Also:
All the samples
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 |
copyright
public static final String copyright
- See Also:
- Constant Field Values
ShowNestingCommand
public ShowNestingCommand()
doCommand
public boolean doCommand(LpexView lpexView,
String parameters)
- Runs this command.
Establishes the bounds of the blocks to display, displays the nestings
in the prefix-area margin.
- Parameters:
lpexView
- the document view in which the command was issuedparameters
- optional parameter "on" / "off" / "?"
Copyright © 2011 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.