Rational Developer for Power Systems Software

Class ISeriesEditorCLModel

  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.edit.language.model.ISeriesEditorCLModel

public class ISeriesEditorCLModel
extends LanguageModel

Field Summary
protected  LpexTextEditor _editor
protected  LanguageModelElement _labelElement
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
ISeriesEditorCLModel(LpexView view, LpexTextEditor editor)
          Create a tree model to be displayed in the Outline View for OPM RPG
Method Summary
 void addLabelToOutlineView(String labelName, int iLine)
 void addSubroutineToOutlineView(String subrName, int iLine)
 void createOutline()
 void parserTerminating()
          This will be called when the parser is teminated or disabled.
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 _labelElement


protected LanguageModelElement _subrElement
Constructor Detail


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

Method Detail


public void addSubroutineToOutlineView(String subrName,
                                       int iLine)


public void addLabelToOutlineView(String labelName,
                                  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


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.