Rational Developer for Power Systems Software

Class ISeriesEditorRPGOPMModel

  extended by com.ibm.etools.iseries.edit.language.model.LanguageModelElement
      extended by com.ibm.etools.iseries.edit.language.model.LanguageModel
          extended by com.ibm.etools.iseries.parsers.ISeriesEditorRPGOPMModel

public class ISeriesEditorRPGOPMModel
extends LanguageModel

Field Summary
protected  LpexTextEditor _editor
protected  LanguageModelElement _globaldefn
protected  LanguageModelElement _subrElement
protected  LpexView _view
static String Copyright
Fields inherited from class com.ibm.etools.iseries.edit.language.model.LanguageModel
_bNotifyListeners, _vectorListeners
Fields inherited from class com.ibm.etools.iseries.edit.language.model.LanguageModelElement
_elementParent, _iLineNumberFirst, _iLineNumberLast, _model, _name, _objData, _strImage, _strName, _vectorAttributes, _vectorChildElements
Constructor Summary
ISeriesEditorRPGOPMModel(LpexView view, LpexTextEditor editor)
          Create a tree model to be displayed in the Outline View for OPM RPG
Method Summary
 void addToOutlineView(String subrName, int iLine)
 void createOutline()
 void parserTerminating()
          This will be called when the parser is teminated or disabled.
 void setEditor(LpexTextEditor editor)
          Reset the editor for the model
Methods inherited from class com.ibm.etools.iseries.edit.language.model.LanguageModel
addAttributeToElement, addLanguageModelListener, createChildElement, deleteElement, elementAdded, elementChanged, elementRemoved, getRootElement, printElementTree, removeLanguageModelListener, setNotifyListeners
Methods inherited from class com.ibm.etools.iseries.edit.language.model.LanguageModelElement
addAttribute, addChildElement, addChildElement, findElementFromHashValue, getAdapter, getAttribute, getAttributeValue, getChildElement, getChildElementAt, getChildElementIndex, getChildren, getData, getEditableValue, getElementFromLineNumber, getImageName, getLineRangeExtent, getLineRangeOrigin, getModel, getName, getNumberOfAttributes, getNumberOfChildElements, getParent, getPropertyDescriptors, getPropertyValue, hasChildren, hasDescendent, isPropertySet, printElementTree, removeAllChildElements, removeChildElement, resetPropertyValue, setData, setPropertyValue, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Field Detail


public static final String Copyright
See Also:
Constant Field Values


protected LpexTextEditor _editor


protected LpexView _view


protected LanguageModelElement _globaldefn


protected LanguageModelElement _subrElement
Constructor Detail


public ISeriesEditorRPGOPMModel(LpexView view,
                                LpexTextEditor editor)
Create a tree model to be displayed in the Outline View for OPM RPG

Method Detail


public void addToOutlineView(String subrName,
                             int iLine)


public void createOutline()


public void parserTerminating()
This will be called when the parser is teminated or disabled. Informs the listeners that model is terminating



public void setEditor(LpexTextEditor editor)
Reset the editor for the model

editor - The editor to use

Rational Developer for Power Systems Software

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.