Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.parsers
Class ISeriesEditorRPGOPMModel

java.lang.Object
  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

Copyright

public static final String Copyright
See Also:
Constant Field Values

_editor

protected LpexTextEditor _editor

_view

protected LpexView _view

_globaldefn

protected LanguageModelElement _globaldefn

_subrElement

protected LanguageModelElement _subrElement
Constructor Detail

ISeriesEditorRPGOPMModel

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

Method Detail

addToOutlineView

public void addToOutlineView(String subrName,
                             int iLine)

createOutline

public void createOutline()

parserTerminating

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

Since:
6.0.1

setEditor

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

Parameters:
editor - The editor to use
Since:
7.0

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.