|
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.ObjectContentOutlinePage
com.ibm.etools.iseries.edit.views.ISeriesEditorDDSContentOutlinePage
public class ISeriesEditorDDSContentOutlinePage
An outline view for DDS that interacts with the model stored in the
com.ibm.etools.iseries.editor.ISeriesEditorDDSParser
| Field Summary |
|---|
| Fields inherited from interface com.ibm.etools.iseries.edit.views.IDdsParserListener |
|---|
copyright |
| Constructor Summary | |
|---|---|
ISeriesEditorDDSContentOutlinePage(LpexTextEditor editor)
A Content Outline view specific to DDS Its input is DdsModel |
|
| Method Summary | |
|---|---|
void |
createControl(Composite parent)
|
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 |
disconnect()
|
TreeViewer |
getStructuredViewer()
Return TreeViewer that supplies the model for this outline view |
void |
refresh(IDdsElementWithSource ddsElement,
boolean readOnly)
The contents of the model have been changed dramatically and a reparse has occurred. |
void |
refreshSelection(ISelection selection)
Recompute the selection in the outline view based on the given selection in the DDS model |
void |
refreshView(ISelection selection)
Refresh the view with refreshed content |
void |
selectionChanged(IDdsElementWithSource ddsElement,
boolean readOnly,
Object initiator)
Whenever a DDS element is selected via the outline view, this method is called |
void |
selectionChanged(SelectionChangedEvent event)
|
void |
setActionBarContributor(EditingDomainActionBarContributor actionBarContributor)
|
void |
setActionBars(IActionBars actionBars)
|
void |
setDidInitiateSelection(boolean pending)
Are we in the middle of changing selection. |
void |
setEditorInitialization(Runnable editorInitialization)
|
void |
setEnabled(boolean state)
Enable or disable the outline view tree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISeriesEditorDDSContentOutlinePage(LpexTextEditor editor)
DdsModel
parser - labelProvider - | Method Detail |
|---|
public TreeViewer getStructuredViewer()
public void createControl(Composite parent)
public void refreshView(ISelection selection)
public void refreshSelection(ISelection selection)
selection - public void setEnabled(boolean state)
state - public void selectionChanged(SelectionChangedEvent event)
public void setDidInitiateSelection(boolean pending)
public void selectionChanged(IDdsElementWithSource ddsElement,
boolean readOnly,
Object initiator)
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)initiator - - 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 void disable()
IDdsParserListener#selectionChanged(DdsStatement, boolean) call.
disable in interface IDdsParserListenerpublic void disconnect()
public boolean didInitiateSelection()
IDdsParserListener
didInitiateSelection in interface IDdsParserListenerpublic void setEditorInitialization(Runnable editorInitialization)
public void setActionBars(IActionBars actionBars)
public void setActionBarContributor(EditingDomainActionBarContributor actionBarContributor)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||