Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.commands
Class ShowNestingCommand

java.lang.Object
  extended by 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

Field Summary
static String copyright
           
 
Constructor Summary
ShowNestingCommand()
           
 
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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

ShowNestingCommand

public ShowNestingCommand()
Method Detail

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 issued
parameters - optional parameter "on" / "off" / "?"

Rational Developer for Power Systems Software
V7.6

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.