com.ibm.etools.iseries.parsers
Class ISeriesEditorCobol400SqlCicsParserResolver
java.lang.Object
com.ibm.etools.iseries.parsers.ISeriesEditorCobol400SqlCicsParserResolver
- All Implemented Interfaces:
- com.ibm.etools.systems.editor.cobol.ICobolParserResolver
public class ISeriesEditorCobol400SqlCicsParserResolver
- extends Object
- implements com.ibm.etools.systems.editor.cobol.ICobolParserResolver
Fields inherited from interface com.ibm.etools.systems.editor.cobol.ICobolParserResolver |
NONE, STRONG, WEAK |
Method Summary |
String |
getParserName()
Returns the name of the COBOL parser to be used by Remote Systems LPEX editor. |
int |
supportLevel(IProject project,
IFile file)
Used to choose the most correct parser, for the given file and project. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISeriesEditorCobol400SqlCicsParserResolver
public ISeriesEditorCobol400SqlCicsParserResolver()
getParserName
public String getParserName()
- Description copied from interface:
com.ibm.etools.systems.editor.cobol.ICobolParserResolver
- Returns the name of the COBOL parser to be used by Remote Systems LPEX editor.
This value is meant to be used in the LPEX command "set default.updateProfile.parserAssociation.CBL xxxx"
Prior to this call supportLevel is called with the same project and file used as input here.
- Specified by:
getParserName
in interface com.ibm.etools.systems.editor.cobol.ICobolParserResolver
supportLevel
public int supportLevel(IProject project,
IFile file)
- Description copied from interface:
com.ibm.etools.systems.editor.cobol.ICobolParserResolver
- Used to choose the most correct parser, for the given file and project.
If more than one ICobolParserFactory provides the same level, the one that is chosen is undefined.
- Specified by:
supportLevel
in interface com.ibm.etools.systems.editor.cobol.ICobolParserResolver
- Parameters:
project
- The project that contains the IFile source.file
- The source file opened in the editor.
- Returns:
- NONE, WEAK, STRONG describing the level of support.
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.