COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.smlif.internal.editor
Class DocumentsPage

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.EditorPart
              extended by org.eclipse.ui.forms.editor.FormPage
                  extended by org.eclipse.cosmos.rm.smlif.internal.editor.AbstractFormPage
                      extended by org.eclipse.cosmos.rm.smlif.internal.editor.DocumentsPage
All Implemented Interfaces:
java.util.EventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener, org.eclipse.ui.forms.editor.IFormPage, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class DocumentsPage
extends AbstractFormPage
implements org.eclipse.swt.events.SelectionListener, org.eclipse.jface.viewers.ISelectionChangedListener


Field Summary
static java.lang.String ID
          The id of this page
 
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
DocumentsPage(org.eclipse.ui.forms.editor.FormEditor editor)
          Constructor
 
Method Summary
protected  void createLeftColumn(org.eclipse.swt.widgets.Composite parent)
          Create the left column content of the page
protected  void createRightColumn(org.eclipse.swt.widgets.Composite parent)
          Create the right column content of the page
 void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
          Invoked when an element is selected under the document tree.
protected  void setWeight(org.eclipse.swt.custom.SashForm sashForm)
           
protected  void updateContent()
          This method is invoked when the content of the SML-IF document has changed outside of the SML-IF document.
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
           
 
Methods inherited from class org.eclipse.cosmos.rm.smlif.internal.editor.AbstractFormPage
createColumn, createFormContent, createSection, createTextField, createTextField, doSave, isEnabled, makeSectionReady, modifyText, setEnabled
 
Methods inherited from class org.eclipse.ui.forms.editor.FormPage
canLeaveThePage, createPartControl, dispose, doSaveAs, getEditor, getId, getIndex, getManagedForm, getPartControl, getTitleImage, init, initialize, isActive, isDirty, isEditor, isSaveAsAllowed, selectReveal, setActive, setFocus, setIndex
 
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
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.IEditorPart
getEditorInput, getEditorSite
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleToolTip, removePropertyListener
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 
Methods inherited from interface org.eclipse.ui.ISaveablePart
isSaveOnCloseNeeded
 

Field Detail

ID

public static final java.lang.String ID
The id of this page

See Also:
Constant Field Values
Constructor Detail

DocumentsPage

public DocumentsPage(org.eclipse.ui.forms.editor.FormEditor editor)
Constructor

Parameters:
editor - The editor containing this form page
Method Detail

setWeight

protected void setWeight(org.eclipse.swt.custom.SashForm sashForm)
Overrides:
setWeight in class AbstractFormPage

createLeftColumn

protected void createLeftColumn(org.eclipse.swt.widgets.Composite parent)
Description copied from class: AbstractFormPage
Create the left column content of the page

Specified by:
createLeftColumn in class AbstractFormPage
Parameters:
parent - The parent composite

createRightColumn

protected void createRightColumn(org.eclipse.swt.widgets.Composite parent)
Description copied from class: AbstractFormPage
Create the right column content of the page

Specified by:
createRightColumn in class AbstractFormPage
Parameters:
parent - The parent composite
See Also:
AbstractFormPage.createRightColumn(org.eclipse.swt.widgets.Composite)

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener
See Also:
SelectionListener.widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener
See Also:
SelectionListener.widgetSelected(org.eclipse.swt.events.SelectionEvent)

selectionChanged

public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Invoked when an element is selected under the document tree.

Specified by:
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener

updateContent

protected void updateContent()
Description copied from class: AbstractFormPage
This method is invoked when the content of the SML-IF document has changed outside of the SML-IF document.

Specified by:
updateContent in class AbstractFormPage
See Also:
AbstractFormPage.updateContent()

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification