org.topcased.modeler.documentation
Class EAnnotationDocPage
java.lang.Object
org.eclipse.ui.part.Page
org.topcased.modeler.documentation.EAnnotationDocPage
- All Implemented Interfaces:
- org.eclipse.ui.ISelectionListener, org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage, IDocPage
public class EAnnotationDocPage
- extends org.eclipse.ui.part.Page
- implements IDocPage
This class creates the page to edit documentation EAnnotation of the edited
Ecore model.
creation : 3 juin 2005
Constructor Summary |
EAnnotationDocPage(org.eclipse.gef.commands.CommandStack stack)
Build the page with the editor command stack : used to execute commands. |
Methods inherited from class org.eclipse.ui.part.Page |
dispose, getSite, init, makeContributions, setActionBars |
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.part.IPageBookViewPage |
getSite, init |
Methods inherited from interface org.eclipse.ui.part.IPage |
dispose, setActionBars |
EAnnotationDocPage
public EAnnotationDocPage(org.eclipse.gef.commands.CommandStack stack)
- Build the page with the editor command stack : used to execute commands.
- Parameters:
stack
- the editor command stack
getCommandStack
protected org.eclipse.gef.commands.CommandStack getCommandStack()
- Returns the editor command stack
- Returns:
- the command stack
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createControl
in interface org.eclipse.ui.part.IPage
- Specified by:
createControl
in class org.eclipse.ui.part.Page
- See Also:
Page.createControl(org.eclipse.swt.widgets.Composite)
createTabItems
protected void createTabItems(org.eclipse.swt.widgets.TabFolder tabFolder)
- This method creates the different documentation tab items
- Parameters:
tabFolder
- the parent tabFolder
setModelElement
public void setModelElement(EModelElement elt)
getControl
public org.eclipse.swt.widgets.Control getControl()
- Specified by:
getControl
in interface org.eclipse.ui.part.IPage
- Specified by:
getControl
in class org.eclipse.ui.part.Page
- See Also:
Page.getControl()
setFocus
public void setFocus()
- Specified by:
setFocus
in interface org.eclipse.ui.part.IPage
- Specified by:
setFocus
in class org.eclipse.ui.part.Page
- See Also:
Page.setFocus()
selectionChanged
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged
in interface org.eclipse.ui.ISelectionListener
- See Also:
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.