Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor
Interface ISystemTextEditorParser

All Known Subinterfaces:
IISeriesEditorParser
All Known Implementing Classes:
ISeriesEditorCLParser, ISeriesEditorCobol400SqlCicsParser, ISeriesEditorCobolILESqlCicsParser, ISeriesEditorDDSParser, ISeriesEditorParser, ISeriesEditorRPGILEParser, ISeriesEditorRPGILESQLParser, ISeriesEditorRPGOPMParser

public interface ISystemTextEditorParser

This interface should be implemented by parsers used in our editor.


Field Summary
static String Copyright
           
 
Method Summary
 void doRefresh()
          Override this method to do something special as part of refresh.
 String getLanguage()
          Returns the name of the parser's language.
 String getLocalFileName()
          Get the local file name.
 boolean isLocal()
          Returns whether the input resource is local.
 void removeErrors(int iElement)
          Method removeError.
 void removeErrors(int iStartElement, int iEndElement)
          Method removeErrors.
 void setLocal(boolean isLocal)
          Sets whether the input resource is local.
 

Field Detail

Copyright

static final String Copyright
See Also:
Constant Field Values
Method Detail

setLocal

void setLocal(boolean isLocal)
Sets whether the input resource is local.

Parameters:
specify - true if the input resource is local, or false if input resource is of remote origin.

getLanguage

String getLanguage()
Returns the name of the parser's language.


isLocal

boolean isLocal()
Returns whether the input resource is local.

Returns:
true if the input resource is local, or false if input resource is of remote origin.

getLocalFileName

String getLocalFileName()
Get the local file name.

Returns:
the local file name

removeErrors

void removeErrors(int iElement)
Method removeError. removes the errors from the specified line

Parameters:
iElement - the element number to remove all the errors for

removeErrors

void removeErrors(int iStartElement,
                  int iEndElement)
Method removeErrors. removes all the errors for the elements in the specified range

Parameters:
iStartElement -

doRefresh

void doRefresh()
Override this method to do something special as part of refresh.


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.