|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The DDS Language model embedded in the Lpex editor and synchronized with its contents
Method Summary | |
---|---|
IDdsParserAdapter |
getDdsCursorListener()
Return the singleton cursor listener that implements IDdsAdaptable . |
com.ibm.etools.iseries.dds.dom.DdsModel |
getDdsModel()
Retrieve DDS model corresponding to the source in the editor. |
boolean |
incrementallyUpdateModel(int iElement,
boolean inserted,
boolean updateLineContainerOnly)
Update the model with the changed/inserted line If we could not do this return true |
void |
refreshModel()
Refresh the model by reparsing the changed source in Lpex. |
void |
refreshModel(int sequenceUpdateRangeBottom,
int sequenceUpdateRangeTop)
Refresh the model by reparsing the changed source in Lpex. |
void |
reserveSequenceNumbers(int elementFirst,
int changedLineCount)
If inserting a number of lines make sure that the sequence numbers in the LineContainer in the model has room to insert them. |
Method Detail |
public com.ibm.etools.iseries.dds.dom.DdsModel getDdsModel()
public void refreshModel()
public void refreshModel(int sequenceUpdateRangeBottom, int sequenceUpdateRangeTop)
sequenceUpdateRangeBottom
- element number of the first line to check for resequencingsequenceUpdateRangeTop
- element number of the last line to check for resequencingpublic IDdsParserAdapter getDdsCursorListener()
IDdsAdaptable
.
Lazily create the singleton.
public boolean incrementallyUpdateModel(int iElement, boolean inserted, boolean updateLineContainerOnly)
iElement
- - element number of line in Lpex that has been changed or insertedinserted
- - element was inserted if trueupdateLineContainerOnly
- = if inserting only update the LineContainer -typically because
the file level will be reparse anyways but we need the line container to maintain the sequence
numbers
public void reserveSequenceNumbers(int elementFirst, int changedLineCount)
elementFirst
- - the element number of the first line being insertedchangedLineCount
- - the number of lines that will be inserted
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |