Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.parsers
Class ISeriesEditorRPGOPMPrompter

java.lang.Object
  extended by com.ibm.etools.iseries.editor.ISeriesEditorPrompter
      extended by com.ibm.etools.iseries.parsers.ISeriesEditorRPGOPMPrompter
All Implemented Interfaces:
IISeriesEditorConstantsColors, IISeriesEditorPromptAdapter, IISeriesEditorConstantsRPG, IISeriesEditorConstantsRPGOPM

public class ISeriesEditorRPGOPMPrompter
extends ISeriesEditorPrompter
implements IISeriesEditorConstantsRPGOPM


Field Summary
protected  ISeriesEditorRPGOPMParser _parser
           
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.editor.ISeriesEditorPrompter
_actionInsertMode, _listener, _lpexView, _promptGroup, _strPromptXmlFilename
 
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsRPGOPM
_straControlWords, _straDataWords, _straMacroWords, _straRPGFonts, COLUMN_C_OPCODE, CSPECCOMMENT_POS, FACTOR2_POS, FIELDLEN_POS, LENGTH_C_OPCODE, PAGE_INDEX_OPM_C_Calculation, PAGE_INDEX_OPM_Comment, PAGE_INDEX_OPM_E_Extension, PAGE_INDEX_OPM_F_File_Description, PAGE_INDEX_OPM_F_File_Description_Continuation, PAGE_INDEX_OPM_F_File_Description_Continuation_SFILE_RENAME, PAGE_INDEX_OPM_F_File_Description_Externally_Described_File, PAGE_INDEX_OPM_Full_Line, PAGE_INDEX_OPM_H_Control, PAGE_INDEX_OPM_I_Input_Data_Structure, PAGE_INDEX_OPM_I_Input_Data_Structure_Subfield, PAGE_INDEX_OPM_I_Input_Field_Description, PAGE_INDEX_OPM_I_Input_Field_Description_Externally_Described_File, PAGE_INDEX_OPM_I_Input_Initialization_Value, PAGE_INDEX_OPM_I_Input_Named_Constant, PAGE_INDEX_OPM_I_Input_Record_Identification, PAGE_INDEX_OPM_I_Input_Record_Identification_Externally_Described_File, PAGE_INDEX_OPM_L_Line_Counter, PAGE_INDEX_OPM_O_Output_Field_Description, PAGE_INDEX_OPM_O_Output_Record_Description, PAGE_INDEX_OPM_O_Output_To_Disk, PROMPT_C, PROMPT_CIND, PROMPT_CM, PROMPT_DATA, PROMPT_DSS, PROMPT_DSS2, PROMPT_E, PROMPT_F, PROMPT_FC, PROMPT_FK, PROMPT_FX, PROMPT_H, PROMPT_IDS, PROMPT_IF, PROMPT_IFX, PROMPT_IR, PROMPT_IR2, PROMPT_IRX, PROMPT_L, PROMPT_LAST, PROMPT_MACRO, PROMPT_NC, PROMPT_NONE, PROMPT_OD, PROMPT_OF, PROMPT_OR, PROMPT_OR2, PROMPT_SPACE, PROMPT_SQL, PROMPT_SV, PROMPT_U, STRING_HELP_DOC_PLUGIN_ID, STRING_HELP_TABLE_FILENAME, STRING_HELP_TABLE_PLUGIN_ID, STRING_MESSAGE_HELP_DOC_PLUGIN_ID, STRING_MESSAGE_HELP_TABLE_FILENAME, STRING_MESSAGE_HELP_TABLE_PLUGIN_ID
 
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesEditorConstantsRPG
_straSQLWords, _straSQLWordsWithComment, CMD_SETFORMATLINETEXT, CMD_SETTABS, COLUMN_C_FREE, COLUMN_COMMENT, COLUMN_FACTOR1, COLUMN_FACTOR2, COLUMN_KEYWORDS, COLUMN_PROC_NAME_BEGIN, COLUMN_PROC_NAME_END, COLUMN_PROC_SPEC, COLUMN_SPEC, FIELD_FACTOR1, FIELD_FACTOR2, FIELD_FROM, FIELD_OPCODE, FIELD_TOLENGTH, OPM_COLUMN_FACTOR1
 
Fields inherited from interface com.ibm.etools.iseries.edit.IISeriesEditorConstantsColors
COLOR_BLACK_WHITE, COLOR_BLUE_WHITE, COLOR_BRIGHTBLUE_WHITE, COLOR_BRIGHTGREEN_WHITE, COLOR_BRIGHTGREY_WHITE, COLOR_BRIGHTPINK_WHITE, COLOR_BRIGHTRED_WHITE, COLOR_BRIGHTRED_WHITE_SQUIGGLE, COLOR_BROWN_WHITE, COLOR_CYAN_WHITE, COLOR_DARK_BROWN_WHITE, COLOR_ERROR_HIGHLIGHT, COLOR_GREEN_WHITE, COLOR_GREY_WHITE, COLOR_HIGHLIGHT, COLOR_MAGENTA_WHITE, COLOR_PINK_WHITE, COLOR_RED_WHITE, COLOR_WHITE_BRIGHTRED
 
Constructor Summary
ISeriesEditorRPGOPMPrompter(LpexView view, ISeriesEditorRPGOPMParser parser)
          Constructor
 
Method Summary
 String getPromptFormatLine(String strPromptPageId)
          Returns the format string of the prompt page identifier.
 String getPromptPageId(int iElement)
          Returns the string page identifier for the element.
 int getPromptPageIndex(int iElement)
          Returns the string page identifier for the line.
 IISeriesEditorSyntaxChecker getSyntaxChecker()
          Returns the syntax checker.
 void setPrefixSpecType(int specType)
          Set the spec type to be used for the next prompt Used for the prefix commands
 void setPrefixSpecType(int specType, boolean fromInsertion)
          Set the spec type to be used for the next prompt Indicate if it is from an insertion prefix command IP? Used for the prefix commands
 
Methods inherited from class com.ibm.etools.iseries.editor.ISeriesEditorPrompter
addPromptChangeListener, displayHelp, displayMessageHelp, elementChanged, getPromptChangeListener, getPromptEncoding, getPromptFont, getPromptGroup, getPromptMaxLineLength, getPromptUserInterfaceDefinitionURL, getRetainLowerCase, promptElementChanged, promptLineChanged, removePromptChangeListener, setInsertModeAction, setUserInterfaceDefinitionFilename
 
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

_parser

protected ISeriesEditorRPGOPMParser _parser
Constructor Detail

ISeriesEditorRPGOPMPrompter

public ISeriesEditorRPGOPMPrompter(LpexView view,
                                   ISeriesEditorRPGOPMParser parser)
Constructor

Method Detail

getPromptFormatLine

public String getPromptFormatLine(String strPromptPageId)
Returns the format string of the prompt page identifier.

Specified by:
getPromptFormatLine in interface IISeriesEditorPromptAdapter
Specified by:
getPromptFormatLine in class ISeriesEditorPrompter

getPromptPageId

public String getPromptPageId(int iElement)
Returns the string page identifier for the element.

Specified by:
getPromptPageId in class ISeriesEditorPrompter

getPromptPageIndex

public int getPromptPageIndex(int iElement)
Returns the string page identifier for the line.

Specified by:
getPromptPageIndex in interface IISeriesEditorPromptAdapter
Specified by:
getPromptPageIndex in class ISeriesEditorPrompter

getSyntaxChecker

public IISeriesEditorSyntaxChecker getSyntaxChecker()
Returns the syntax checker.

Specified by:
getSyntaxChecker in interface IISeriesEditorPromptAdapter

setPrefixSpecType

public void setPrefixSpecType(int specType)
Set the spec type to be used for the next prompt Used for the prefix commands


setPrefixSpecType

public void setPrefixSpecType(int specType,
                              boolean fromInsertion)
Set the spec type to be used for the next prompt Indicate if it is from an insertion prefix command IP? Used for the prefix commands


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.