Modelers

org.topcased.modeler.documentation
Class DocView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by org.eclipse.ui.part.PageBookView
                  extended by org.topcased.modeler.documentation.DocView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPartListener, org.eclipse.ui.IPersistable, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class DocView
extends org.eclipse.ui.part.PageBookView
implements org.eclipse.ui.ISelectionListener

Generic view that display UI to comment objects from the model
creation : 3 juin 2005


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ui.part.PageBookView
org.eclipse.ui.part.PageBookView.PageRec, org.eclipse.ui.part.PageBookView.SelectionProvider
 
Field Summary
static java.lang.String VIEW_ID
          ID of the Documentation view
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
DocView()
          Creates a documentation view.
 
Method Summary
protected  org.eclipse.ui.part.IPage createDefaultPage(org.eclipse.ui.part.PageBook book)
           
 void dispose()
           
protected  org.eclipse.ui.part.PageBookView.PageRec doCreatePage(org.eclipse.ui.IWorkbenchPart part)
           
protected  void doDestroyPage(org.eclipse.ui.IWorkbenchPart part, org.eclipse.ui.part.PageBookView.PageRec rec)
           
protected  org.eclipse.ui.IWorkbenchPart getBootstrapPart()
           
 void init(org.eclipse.ui.IViewSite site)
           
protected  boolean isImportant(org.eclipse.ui.IWorkbenchPart part)
           
 void partActivated(org.eclipse.ui.IWorkbenchPart part)
          The DocView implementation of this IPartListener method first sees if the active part is an IContributedContentsView adapter and if so, asks it for its contributing part.
 void selectionChanged(org.eclipse.ui.IWorkbenchPart part, org.eclipse.jface.viewers.ISelection sel)
           
 
Methods inherited from class org.eclipse.ui.part.PageBookView
createPartControl, doesPageExist, getAdapter, getCurrentContributingPart, getCurrentPage, getDefaultPage, getPageBook, getPageRec, getPageRec, getPageSite, getSelectionProvider, getViewAdapter, initPage, partBroughtToTop, partClosed, partDeactivated, partOpened, setFocus, showPageRec
 
Methods inherited from class org.eclipse.ui.part.ViewPart
checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, 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.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
 

Field Detail

VIEW_ID

public static final java.lang.String VIEW_ID
ID of the Documentation view

See Also:
Constant Field Values
Constructor Detail

DocView

public DocView()
Creates a documentation view.

Method Detail

createDefaultPage

protected org.eclipse.ui.part.IPage createDefaultPage(org.eclipse.ui.part.PageBook book)
Specified by:
createDefaultPage in class org.eclipse.ui.part.PageBookView
See Also:
PageBookView.createDefaultPage(org.eclipse.ui.part.PageBook)

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchPart
Overrides:
dispose in class org.eclipse.ui.part.PageBookView
See Also:
IWorkbenchPart.dispose()

doCreatePage

protected org.eclipse.ui.part.PageBookView.PageRec doCreatePage(org.eclipse.ui.IWorkbenchPart part)
Specified by:
doCreatePage in class org.eclipse.ui.part.PageBookView
See Also:
PageBookView.doCreatePage(org.eclipse.ui.IWorkbenchPart)

doDestroyPage

protected void doDestroyPage(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.ui.part.PageBookView.PageRec rec)
Specified by:
doDestroyPage in class org.eclipse.ui.part.PageBookView
See Also:
PageBookView.doDestroyPage(org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.part.PageBookView.PageRec)

getBootstrapPart

protected org.eclipse.ui.IWorkbenchPart getBootstrapPart()
Specified by:
getBootstrapPart in class org.eclipse.ui.part.PageBookView
See Also:
PageBookView.getBootstrapPart()

init

public void init(org.eclipse.ui.IViewSite site)
          throws org.eclipse.ui.PartInitException
Specified by:
init in interface org.eclipse.ui.IViewPart
Overrides:
init in class org.eclipse.ui.part.PageBookView
Throws:
org.eclipse.ui.PartInitException
See Also:
IViewPart.init(org.eclipse.ui.IViewSite)

isImportant

protected boolean isImportant(org.eclipse.ui.IWorkbenchPart part)
Specified by:
isImportant in class org.eclipse.ui.part.PageBookView
See Also:
PageBookView.isImportant(org.eclipse.ui.IWorkbenchPart)

partActivated

public void partActivated(org.eclipse.ui.IWorkbenchPart part)
The DocView implementation of this IPartListener method first sees if the active part is an IContributedContentsView adapter and if so, asks it for its contributing part.

Specified by:
partActivated in interface org.eclipse.ui.IPartListener
Overrides:
partActivated in class org.eclipse.ui.part.PageBookView

selectionChanged

public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
                             org.eclipse.jface.viewers.ISelection sel)
Specified by:
selectionChanged in interface org.eclipse.ui.ISelectionListener
See Also:
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)

Modelers

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.