org.topcased.modeler.sam.documentation
Class IdentifiedItemDocPage
java.lang.Object
org.eclipse.ui.part.Page
org.topcased.modeler.sam.documentation.IdentifiedItemDocPage
- All Implemented Interfaces:
- org.eclipse.ui.part.IPage, org.eclipse.ui.part.IPageBookViewPage
public class IdentifiedItemDocPage
- extends org.eclipse.ui.part.Page
This class creates the page to edit documentation of the edited SAM model.
Created : 12 July 2005
Constructor Summary |
IdentifiedItemDocPage(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 |
getSite, init, makeContributions, setActionBars |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentifiedItemDocPage
public IdentifiedItemDocPage(org.eclipse.gef.commands.CommandStack stack)
- Build the page with the editor command stack : used to execute commands.
- Parameters:
stack
- the editor command stack
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.part.IPage
- Overrides:
dispose
in class org.eclipse.ui.part.Page
- See Also:
IPropertySheetEntry.dispose()
getCommandStack
protected org.eclipse.gef.commands.CommandStack getCommandStack()
- Returns the editor command stack
- Returns:
- the command stack
refresh
protected void refresh()
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)
setIdentifiedItem
public void setIdentifiedItem(IdentifiedItem 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)
- See Also:
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.