iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor.views
Class ISeriesEditorContentOutlinePage

java.lang.Object
  extended byorg.eclipse.ui.part.Page
      extended byorg.eclipse.ui.views.contentoutline.ContentOutlinePage
          extended bycom.ibm.etools.iseries.editor.views.ISeriesEditorContentOutlinePage
All Implemented Interfaces:
IContentOutlinePage, ILanguageModelListener, IPage, IPageBookViewPage, ISelectionChangedListener, ISelectionProvider

public class ISeriesEditorContentOutlinePage
extends ContentOutlinePage
implements ILanguageModelListener


Nested Class Summary
protected  class ISeriesEditorContentOutlinePage.ISeriesEditorRefreshAction
           
 
Field Summary
protected  ISeriesEditorContentOutlinePage.ISeriesEditorRefreshAction _actionRefreshView
           
protected  LabelProvider _labelProvider
           
protected  LanguageModel _model
           
protected  com.ibm.lpex.alef.LpexTextEditor _textEditor
           
static String Copyright
           
 
Constructor Summary
ISeriesEditorContentOutlinePage(com.ibm.lpex.alef.LpexTextEditor editor, LabelProvider labelProvider)
          Constructor.
 
Method Summary
 void createControl(Composite parent)
          Creates the visibile user interface.
 void doElementDelete(LanguageModelElement element)
          Removes the element from the tree
 void elementAdded(LanguageModelElement elementAdded)
          Method declared in LanguageModelListener
 void elementChanged(LanguageModelElement elementChanged)
          Method declared in LanguageModelListener
 void elementRemoved(LanguageModelElement elementRemoved)
          Method declared in LanguageModelListener
 ISelection getSelection()
          Overrides the super class because it doesn't check for widgetDisposed.
 void modelRestarting()
          tells the outline page that the model is restarting.
 void modelTerminating()
           
 void performDrop(int iHashSource, LanguageModelElement elementTarget, boolean bAddAsChild, boolean bDropAfter)
           
 void refreshView()
          Refresh the view with refreshed content
 void selectionChanged(SelectionChangedEvent event)
           
 void setEnabled(boolean bEnable)
           
 void setInput(Object input)
          Sets the input of the outline page
 void setSelection(ISelection selection)
          Overrides the super class because it doesn't check for widgetDisposed.
 void update()
          Updates the outline page.
 
Methods inherited from class org.eclipse.ui.views.contentoutline.ContentOutlinePage
addSelectionChangedListener, fireSelectionChanged, getControl, getTreeViewer, init, removeSelectionChangedListener, setFocus
 
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
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

_model

protected LanguageModel _model

_textEditor

protected com.ibm.lpex.alef.LpexTextEditor _textEditor

_labelProvider

protected LabelProvider _labelProvider

_actionRefreshView

protected ISeriesEditorContentOutlinePage.ISeriesEditorRefreshAction _actionRefreshView
Constructor Detail

ISeriesEditorContentOutlinePage

public ISeriesEditorContentOutlinePage(com.ibm.lpex.alef.LpexTextEditor editor,
                                       LabelProvider labelProvider)
Constructor.

Method Detail

createControl

public void createControl(Composite parent)
Creates the visibile user interface.

Specified by:
createControl in interface IPage

doElementDelete

public void doElementDelete(LanguageModelElement element)
Removes the element from the tree


elementAdded

public void elementAdded(LanguageModelElement elementAdded)
Method declared in LanguageModelListener

Specified by:
elementAdded in interface ILanguageModelListener

elementChanged

public void elementChanged(LanguageModelElement elementChanged)
Method declared in LanguageModelListener

Specified by:
elementChanged in interface ILanguageModelListener

elementRemoved

public void elementRemoved(LanguageModelElement elementRemoved)
Method declared in LanguageModelListener

Specified by:
elementRemoved in interface ILanguageModelListener

getSelection

public ISelection getSelection()
Overrides the super class because it doesn't check for widgetDisposed.

Specified by:
getSelection in interface ISelectionProvider

performDrop

public void performDrop(int iHashSource,
                        LanguageModelElement elementTarget,
                        boolean bAddAsChild,
                        boolean bDropAfter)

refreshView

public void refreshView()
Refresh the view with refreshed content


selectionChanged

public void selectionChanged(SelectionChangedEvent event)
Specified by:
selectionChanged in interface ISelectionChangedListener

setEnabled

public void setEnabled(boolean bEnable)

setInput

public void setInput(Object input)
Sets the input of the outline page


setSelection

public void setSelection(ISelection selection)
Overrides the super class because it doesn't check for widgetDisposed.

Specified by:
setSelection in interface ISelectionProvider

update

public void update()
Updates the outline page.


modelTerminating

public void modelTerminating()
Specified by:
modelTerminating in interface ILanguageModelListener

modelRestarting

public void modelRestarting()
tells the outline page that the model is restarting.

Specified by:
modelRestarting in interface ILanguageModelListener
See Also:
ILanguageModelListener.modelRestarting()

iSeries Remote Systems
v6.0.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.