|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ibm.etools.iseries.editor.ISeriesEditorDDSRangeSelector
public class ISeriesEditorDDSRangeSelector
Listens for the selection of a DDS construct in the model and highlights the corresponding range of lines in the editor to show the extent of that construct
| Field Summary |
|---|
| Fields inherited from interface com.ibm.etools.iseries.edit.views.IDdsParserListener |
|---|
copyright |
| Constructor Summary | |
|---|---|
ISeriesEditorDDSRangeSelector(LpexTextEditor editor)
|
|
| Method Summary | |
|---|---|
boolean |
didInitiateSelection()
Did the listener actually initiate the current selection. |
void |
disable()
If the DDS model is being rebuilt this method will be called so the UI can disable itself until it receives another #selectionChanged(DdsStatement, boolean) call. |
void |
refresh(IDdsElementWithSource ddsElement,
boolean readOnly)
The contents of the model have been changed dramatically and a reparse has occurred. |
void |
selectionChanged(IDdsElementWithSource ddsElement,
boolean readOnly,
Object selectionInitiator)
Whenever a DDS element is selected via the outline view, this method is called |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISeriesEditorDDSRangeSelector(LpexTextEditor editor)
| Method Detail |
|---|
public void selectionChanged(IDdsElementWithSource ddsElement,
boolean readOnly,
Object selectionInitiator)
IDdsParserListener
selectionChanged in interface IDdsParserListenerddsElement - IDdsElementWithSource that is currently selected in the modelreadOnly - - whether the element is readOnly and cannot be updated (if it is in
in an editor in the read only state for example)selectionInitiator - - object that initiated the selection
public void refresh(IDdsElementWithSource ddsElement,
boolean readOnly)
IDdsParserListener
refresh in interface IDdsParserListenerddsElement - IDdsElementWithSource that is currently selected in the modelreadOnly - - whether the element is readOnly and cannot be updated (if it is in
in an editor in the read only state for example)public boolean didInitiateSelection()
IDdsParserListener
didInitiateSelection in interface IDdsParserListenerpublic void disable()
IDdsParserListener#selectionChanged(DdsStatement, boolean) call.
disable in interface IDdsParserListener
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||