Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by ContentOutlinePage
      extended by com.ibm.etools.iseries.edit.views.ISeriesEditorContentOutlinePage
All Implemented Interfaces:
ILanguageModelListener

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  LpexTextEditor _textEditor
           
static String Copyright
           
 
Constructor Summary
ISeriesEditorContentOutlinePage(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.
 boolean isRefreshActionEnabled()
          Test if the refresh action is enabled
 void modelRestarting()
          tells the outline page that the model is restarting.
 void modelTerminating()
           
 void modelUpdated(LanguageModel model)
          Update the outline view with the new model.
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

_model

protected LanguageModel _model

_textEditor

protected LpexTextEditor _textEditor

_labelProvider

protected LabelProvider _labelProvider

_actionRefreshView

protected ISeriesEditorContentOutlinePage.ISeriesEditorRefreshAction _actionRefreshView
Constructor Detail

ISeriesEditorContentOutlinePage

public ISeriesEditorContentOutlinePage(LpexTextEditor editor,
                                       LabelProvider labelProvider)
Constructor.

Method Detail

createControl

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


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.


performDrop

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

refreshView

public void refreshView()
Refresh the view with refreshed content


modelUpdated

public void modelUpdated(LanguageModel model)
Update the outline view with the new model. This may be done either synchronously from the refreshView method, or asynchronously after the model is built (see ISeriesEditorRPGILEModel).


selectionChanged

public void selectionChanged(SelectionChangedEvent event)

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.


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:
com.ibm.etools.iseries.editor.language.model.ILanguageModelListener#modelRestarting()

isRefreshActionEnabled

public boolean isRefreshActionEnabled()
Test if the refresh action is enabled


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 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.