Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.cobol
Class ISeriesEditorCobolILEContentOutlinePage

java.lang.Object
  extended by ContentOutlinePage
      extended by com.ibm.etools.iseries.edit.cobol.ISeriesEditorCobolILEContentOutlinePage

public class ISeriesEditorCobolILEContentOutlinePage
extends ContentOutlinePage

Content outline page for the iSeries ILE COBOL Based on s390 implementation of outline view for COBOL


Nested Class Summary
protected  class ISeriesEditorCobolILEContentOutlinePage.ISeriesEditorRefreshAction
           
 
Field Summary
protected  ISeriesEditorCobolILEContentOutlinePage.ISeriesEditorRefreshAction _actionRefreshView
           
protected  LpexView _view
           
static String Copyright
           
protected  IFile input
           
 
Constructor Summary
ISeriesEditorCobolILEContentOutlinePage(IFile input, LpexView lpexView)
           
 
Method Summary
 void createControl(Composite parent)
          Creates the SWT control for this page, then read input (which is the file being displayed in the editor window) and display its structure in outline view.
protected  IAdaptable getContentOutline(IAdaptable input)
          Gets the content outline for a given input element.
protected  void initDragAndDrop()
          Initializes drag and drop for this content outline page.
 void selectionChanged(SelectionChangedEvent event)
          Respond to selections in the outline view by positioning the cursor in the source
 void update()
          Forces the page to update its contents.
 
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

input

protected IFile input

_view

protected LpexView _view

_actionRefreshView

protected ISeriesEditorCobolILEContentOutlinePage.ISeriesEditorRefreshAction _actionRefreshView
Constructor Detail

ISeriesEditorCobolILEContentOutlinePage

public ISeriesEditorCobolILEContentOutlinePage(IFile input,
                                               LpexView lpexView)
Method Detail

createControl

public void createControl(Composite parent)
Creates the SWT control for this page, then read input (which is the file being displayed in the editor window) and display its structure in outline view.

Parameters:
parent - the parent Composite for this page's control

getContentOutline

protected IAdaptable getContentOutline(IAdaptable input)
Gets the content outline for a given input element. Returns the outline (a list of MarkElements), or null if the outline could not be generated. Creation date: (8/15/2001 5:02:41 PM)

Parameters:
input - org.eclipse.core.runtime.IAdaptable is the file being displayed in the editor window.
Returns:
org.eclipse.core.runtime.IAdaptable

initDragAndDrop

protected void initDragAndDrop()
Initializes drag and drop for this content outline page.


update

public void update()
Forces the page to update its contents. Called when the file is saved.


selectionChanged

public void selectionChanged(SelectionChangedEvent event)
Respond to selections in the outline view by positioning the cursor in the source


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.