|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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. |
com.ibm.etools.iseries.dds.dom.ISourceGenerator |
getCurrentSelection()
Get the currently selected DDS element |
com.ibm.etools.iseries.dds.dom.DdsModel |
getDdsModel()
Return the DDS Model for the DDS member being edited. |
com.ibm.etools.iseries.dds.dom.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 |
public static final String copyright
Method Detail |
public 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.
public void removeSelectionListener(IDdsParserListener listener)
public com.ibm.etools.iseries.dds.dom.ISourceGenerator getCurrentSelection()
public boolean getReadOnlyState()
public com.ibm.etools.iseries.dds.dom.DdsModel getDdsModel()
public com.ibm.etools.iseries.dds.dom.DdsType getDdsType()
public void setUndoCheckpoint()
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |