|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.part.Page
org.eclipse.ui.views.contentoutline.ContentOutlinePage
com.ibm.etools.iseries.editor.views.ISeriesEditorDDSContentOutlinePage
An outline view for DDS that interacts with the model stored in the
ISeriesEditorDDSParser
Field Summary |
---|
Fields inherited from interface com.ibm.etools.iseries.editor.views.IDdsParserListener |
---|
copyright |
Constructor Summary | |
---|---|
ISeriesEditorDDSContentOutlinePage(com.ibm.lpex.alef.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()
|
void |
refresh(com.ibm.etools.iseries.dds.dom.ISourceGenerator 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(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement,
boolean readOnly)
Whenever a DDS element is selected via the outline view, this method is called |
void |
selectionChanged(SelectionChangedEvent event)
|
void |
setDidInitiateSelection(boolean pending)
Are we in the middle of changing selection. |
void |
setEnabled(boolean state)
Enable or disable the outline view tree |
Methods inherited from class org.eclipse.ui.views.contentoutline.ContentOutlinePage |
---|
addSelectionChangedListener, fireSelectionChanged, getControl, getSelection, getTreeViewer, init, removeSelectionChangedListener, setFocus, setSelection |
Methods inherited from class org.eclipse.ui.part.Page |
---|
dispose, getSite, makeContributions, setActionBars |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.part.IPage |
---|
dispose, setActionBars |
Constructor Detail |
public ISeriesEditorDDSContentOutlinePage(com.ibm.lpex.alef.LpexTextEditor editor)
DdsModel
Method Detail |
public void createControl(Composite parent)
createControl
in interface IPage
public void refreshView(ISelection selection)
public void refreshSelection(ISelection selection)
selection
- public void setEnabled(boolean state)
state
- public void selectionChanged(SelectionChangedEvent event)
selectionChanged
in interface ISelectionChangedListener
public void setDidInitiateSelection(boolean pending)
public void selectionChanged(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement, boolean readOnly)
IDdsParserListener
selectionChanged
in interface IDdsParserListener
ddsElement
- ISourceGenerator
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 refresh(com.ibm.etools.iseries.dds.dom.ISourceGenerator ddsElement, boolean readOnly)
IDdsParserListener
refresh
in interface IDdsParserListener
ddsElement
- ISourceGenerator
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 IDdsParserListener
public void disconnect()
public boolean didInitiateSelection()
IDdsParserListener
didInitiateSelection
in interface IDdsParserListener
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |