TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.hyades.ui.internal.editor
Class PageContainerEditorPart

java.lang.Object
  extended byorg.eclipse.core.commands.common.EventManager
      extended byorg.eclipse.ui.part.WorkbenchPart
          extended byorg.eclipse.ui.part.EditorPart
              extended byorg.eclipse.ui.part.MultiPageEditorPart
                  extended byorg.eclipse.ui.forms.editor.FormEditor
                      extended byorg.eclipse.hyades.ui.internal.editor.PageContainerEditorPart
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.hyades.ui.util.IDisposable, org.eclipse.ui.IEditorPart, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.hyades.ui.editor.IHyadesEditorPart, org.eclipse.hyades.ui.editor.IHyadesEditorPartExtended, org.eclipse.jface.dialogs.IPageChangeProvider, org.eclipse.ui.ISaveablePart, org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation
Direct Known Subclasses:
HyadesEditorPart

public abstract class PageContainerEditorPart
extends org.eclipse.ui.forms.editor.FormEditor
implements org.eclipse.hyades.ui.editor.IHyadesEditorPartExtended, org.eclipse.hyades.ui.util.IDisposable

Abstract multi-page editor part. This editor is used to make public the protected methods defined in MultiPageEditorPart that are present in the IHyadesEditorPart interface.

Since:
0.0.1

Field Summary
 
Fields inherited from class org.eclipse.ui.forms.editor.FormEditor
pages
 
Fields inherited from interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
PROP_DIRTY, PROP_INPUT, PROP_OBJECT, PROP_TITLE
 
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
PageContainerEditorPart()
           
 
Method Summary
 void firePropertyChange(int propertyId)
           
 int getActivePage()
           
 org.eclipse.swt.widgets.Composite getContainer()
           
 org.eclipse.swt.widgets.Composite getContainerComposite()
           
 org.eclipse.swt.widgets.Control getControl(int pageIndex)
           
 org.eclipse.ui.IEditorPart getEditor(int pageIndex)
           
 int getPageCount()
           
 org.eclipse.swt.graphics.Image getPageImage(int pageIndex)
           
 java.lang.String getPageText(int pageIndex)
           
 void setActivePage(int pageIndex)
           
 void setControl(int pageIndex, org.eclipse.swt.widgets.Control control)
           
 void setEditorTitle(java.lang.String title)
           
 void setPageImage(int pageIndex, org.eclipse.swt.graphics.Image image)
           
 void setPageText(int pageIndex, java.lang.String text)
           
 void setTitle(java.lang.String title)
          Deprecated. use #setEditorTitle(String) instead.
 void setTitleImage(org.eclipse.swt.graphics.Image titleImage)
           
 void setTitleToolTip(java.lang.String text)
           
 
Methods inherited from class org.eclipse.ui.forms.editor.FormEditor
addPage, addPage, addPage, addPage, addPage, addPage, addPageChangedListener, addPages, close, configurePage, createPageContainer, createPages, createToolkit, dispose, editorDirtyStateChanged, findPage, getActiveEditor, getActivePageInstance, getCurrentPage, getSelectedPage, getToolkit, init, isDirty, pageChange, removePage, removePageChangedListener, selectReveal, setActivePage, setActivePage, updateActionBarContributor
 
Methods inherited from class org.eclipse.ui.part.MultiPageEditorPart
createPartControl, createSite, getAdapter, handlePropertyChange, setFocus
 
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, doSave, doSaveAs, getEditorInput, getEditorSite, getTitleToolTip, isSaveAsAllowed, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, removePropertyListener, setSite, 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.hyades.ui.editor.IHyadesEditorPart
addPage, addPage, addPropertyListener, addSelectionChangedListener, getEditorDescriptor, getEditorObject, getEditorPart, getFileExtension, getTitle, getTitleImage, getTitleToolTip, isDirty, isReadOnly, removePage, removePropertyListener, removeSelectionChangedListener, setEditorObject
 
Methods inherited from interface org.eclipse.hyades.ui.util.IDisposable
dispose
 
Methods inherited from interface org.eclipse.jface.viewers.ISelectionProvider
getSelection, setSelection
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener
 

Constructor Detail

PageContainerEditorPart

public PageContainerEditorPart()
Method Detail

getActivePage

public int getActivePage()
Specified by:
getActivePage in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getActivePage()

getPageImage

public org.eclipse.swt.graphics.Image getPageImage(int pageIndex)
Specified by:
getPageImage in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getPageImage(int)

getPageText

public java.lang.String getPageText(int pageIndex)
Specified by:
getPageText in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getPageText(int)

setActivePage

public void setActivePage(int pageIndex)
Specified by:
setActivePage in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.setActivePage(int)

setControl

public void setControl(int pageIndex,
                       org.eclipse.swt.widgets.Control control)
Specified by:
setControl in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.setControl(int, org.eclipse.swt.widgets.Control)

setPageImage

public void setPageImage(int pageIndex,
                         org.eclipse.swt.graphics.Image image)
Specified by:
setPageImage in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.setPageImage(int, org.eclipse.swt.graphics.Image)

setPageText

public void setPageText(int pageIndex,
                        java.lang.String text)
Specified by:
setPageText in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.setPageText(int, java.lang.String)

getContainerComposite

public org.eclipse.swt.widgets.Composite getContainerComposite()
See Also:
IPageContainer#getContainerComposite(), MultiPageEditorPart.getContainer()

getControl

public org.eclipse.swt.widgets.Control getControl(int pageIndex)
Specified by:
getControl in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getControl(int)

getEditor

public org.eclipse.ui.IEditorPart getEditor(int pageIndex)
Specified by:
getEditor in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getEditor(int)

getPageCount

public int getPageCount()
Specified by:
getPageCount in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getPageCount()

setTitle

public void setTitle(java.lang.String title)
Deprecated. use #setEditorTitle(String) instead.

Specified by:
setTitle in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart

setEditorTitle

public void setEditorTitle(java.lang.String title)
Specified by:
setEditorTitle in interface org.eclipse.hyades.ui.editor.IHyadesEditorPartExtended

setTitleImage

public void setTitleImage(org.eclipse.swt.graphics.Image titleImage)
Specified by:
setTitleImage in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
WorkbenchPart.setTitleImage(org.eclipse.swt.graphics.Image)

setTitleToolTip

public void setTitleToolTip(java.lang.String text)
Specified by:
setTitleToolTip in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
WorkbenchPart.setTitleToolTip(java.lang.String)

firePropertyChange

public void firePropertyChange(int propertyId)
Specified by:
firePropertyChange in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
WorkbenchPart.firePropertyChange(int)

getContainer

public org.eclipse.swt.widgets.Composite getContainer()
Specified by:
getContainer in interface org.eclipse.hyades.ui.editor.IHyadesEditorPart
See Also:
MultiPageEditorPart.getContainer()

TPTP 4.2.0 Platform Project
Internal API Specification