|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDdsParserAdapter
This adapter provides an interface to an ISeries editor that is editing DDS source.
A client would call the getAdapter method on the editor for
'IDdsParserAdapter.class' and it will return an implementation of this interface.
The client then registers itself as an IDdsParserListener
via the
addStatementSelectionListener(IDdsParserListener)
method.
This is useful for any Eclipse view that would like to render or modify
the currently selected
Field Summary | |
---|---|
static String |
copyright
|
Method Summary | |
---|---|
void |
addStatementSelectionListener(IDdsParserListener listener)
The adapter is to add a selection listener to its list of listeners. |
IDdsElementWithSource |
getCurrentSelection()
Get the currently selected DDS element |
DdsType |
getDdsType()
Return the type of DDS in the DDS member being edited |
boolean |
getReadOnlyState()
Is the DDS source read-only/ |
void |
removeSelectionListener(IDdsParserListener listener)
The adapter is to remove a listener from its list of listeners. |
void |
setUndoCheckpoint()
Set undo checkpoint |
Field Detail |
---|
static final String copyright
Method Detail |
---|
void addStatementSelectionListener(IDdsParserListener listener)
IDdsParserListener.selected()
method is called.
If the DDS model is being rebuilt the IDdsParserListener.disable()
method will be called so the UI can disable itself until it receives another
selected() call.
If the entire adapter has to go away (unfortunately Lpex editor blows away the
parser under some circumstances) then the IDdsParserListener.disconnect()
method will be called.
When a listener is added, this will have the side effect of making sure a DDS
model is created for the associated editer
void removeSelectionListener(IDdsParserListener listener)
IDdsElementWithSource getCurrentSelection()
boolean getReadOnlyState()
DdsType getDdsType()
void setUndoCheckpoint()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |