iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.editor
Class ISeriesEditorCOBOLNativeInterface

java.lang.Object
  extended bycom.ibm.etools.iseries.editor.ISeriesEditorNativeInterface
      extended bycom.ibm.etools.iseries.editor.ISeriesEditorCOBOLNativeInterface
All Implemented Interfaces:
IISeriesEditorNativeConstants

public class ISeriesEditorCOBOLNativeInterface
extends ISeriesEditorNativeInterface
implements IISeriesEditorNativeConstants

This is the interface between this package and COBOL program verifier and syntax checker DLLs. Each method in this class has a corresponding native method of the same name appended with the string 'Native'. All methods return one of the listed return codes.


Field Summary
static String copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorNativeConstants
CODE400_ERROR_LOADING_CODE_INTERFACE_LIBRARY, CODE400_ERROR_LOADING_CODE_LIBRARY, CODE400_ERROR_LOADING_CODE_METHOD, CODE400_ERROR_LOADING_REGISTRY_KEY_ADTS_INSTALL, CODE400_ERROR_LOADING_REGISTRY_KEY_WDT_DIRECTORY, CODE400_OK, NATIVE_ERROR_LOADING_NATIVE_INTERFACE_LIBRARY, NATIVE_ERROR_LOADING_NATIVE_LIBRARY, NATIVE_ERROR_LOADING_NATIVE_METHOD, NATIVE_ERROR_NO_PATH_GIVEN, NATIVE_ERROR_RESOLVING_PLUGIN_PATH, NATIVE_OK
 
Constructor Summary
ISeriesEditorCOBOLNativeInterface()
           
 
Method Summary
static String getMessageFile()
           
static boolean getProgramVerifierLoadStatusCOBOLILE()
          Returns the whether an attempt was made to load the required DLLs
static int getProgramVerifierStatusCobolILE()
          Returns the status of the syntax checker
static int getSyntaxCheckerStatusCobolILE()
          Returns the status of the syntax checker
static void issueMessage(com.ibm.etools.systems.core.messages.SystemMessage message)
          Pop up a dialog with the given message
static int syntaxCheckCobolILE(ISeriesEditorCobolSyntaxChecker syntaxChecker, int iLineStart, int iLineEnd)
          Syntax checks Cobol ILE.
static int verifyProgramCobolILE(VerifierCobolILE verifier, VerifierCobolILEOptions PVoptions)
          Program verifies Cobol ILE
 
Methods inherited from class com.ibm.etools.iseries.editor.ISeriesEditorNativeInterface
convertUrlStringToOsPath, getDllsPath, getMessageFileName, getMessageFilePath
 
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

ISeriesEditorCOBOLNativeInterface

public ISeriesEditorCOBOLNativeInterface()
Method Detail

getProgramVerifierLoadStatusCOBOLILE

public static boolean getProgramVerifierLoadStatusCOBOLILE()
Returns the whether an attempt was made to load the required DLLs


getProgramVerifierStatusCobolILE

public static int getProgramVerifierStatusCobolILE()
Returns the status of the syntax checker


getSyntaxCheckerStatusCobolILE

public static int getSyntaxCheckerStatusCobolILE()
Returns the status of the syntax checker


syntaxCheckCobolILE

public static int syntaxCheckCobolILE(ISeriesEditorCobolSyntaxChecker syntaxChecker,
                                      int iLineStart,
                                      int iLineEnd)
Syntax checks Cobol ILE.


verifyProgramCobolILE

public static int verifyProgramCobolILE(VerifierCobolILE verifier,
                                        VerifierCobolILEOptions PVoptions)
Program verifies Cobol ILE


getMessageFile

public static String getMessageFile()

issueMessage

public static void issueMessage(com.ibm.etools.systems.core.messages.SystemMessage message)
Description copied from class: ISeriesEditorNativeInterface
Pop up a dialog with the given message


iSeries Remote Systems
v6.0.0

Copyright © 2005 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.