Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.verifiers
Class VerifierViewDocument

java.lang.Object
  extended by com.ibm.etools.iseries.edit.verifiers.VerifierViewDocument
All Implemented Interfaces:
IVerifierView

public class VerifierViewDocument
extends Object
implements IVerifierView

A document based verifier view.


Field Summary
protected  boolean _bPrefix
           
protected  IDocument _document
           
protected static String _strEmpty
           
protected static String _strEmptyPrefix
           
static String copyright
           
 
Constructor Summary
VerifierViewDocument(IDocument document)
          Constructor that takes a resource and converts it to an input stream.
 
Method Summary
 String getLinePrefixText(int iLine)
          Returns the prefix text at the beginning of a line.
 String getLineText(int iLine)
          Returns the code part of the line without the prefix part.
 int getNextLine(int iLine)
          Returns the next line number ot the given line number or zero.
 int getPreviousLine(int iLine)
          Returns the previous line number to the given line number or zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

_strEmpty

protected static String _strEmpty

_strEmptyPrefix

protected static String _strEmptyPrefix

_document

protected IDocument _document

_bPrefix

protected boolean _bPrefix
Constructor Detail

VerifierViewDocument

public VerifierViewDocument(IDocument document)
                     throws NullPointerException,
                            CoreException,
                            IOException
Constructor that takes a resource and converts it to an input stream.

Throws:
NullPointerException
CoreException
IOException
Method Detail

getLinePrefixText

public String getLinePrefixText(int iLine)
Returns the prefix text at the beginning of a line.

Specified by:
getLinePrefixText in interface IVerifierView

getLineText

public String getLineText(int iLine)
Returns the code part of the line without the prefix part.

Specified by:
getLineText in interface IVerifierView

getNextLine

public int getNextLine(int iLine)
Returns the next line number ot the given line number or zero.

Specified by:
getNextLine in interface IVerifierView

getPreviousLine

public int getPreviousLine(int iLine)
Returns the previous line number to the given line number or zero.

Specified by:
getPreviousLine in interface IVerifierView

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.