|
SAM | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.part.Page
org.topcased.modeler.sam.documentation.IdentifiedItemDocPage
public class IdentifiedItemDocPage
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. |
|
| Method Summary | |
|---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
|
void |
dispose()
|
protected org.eclipse.gef.commands.CommandStack |
getCommandStack()
Returns the editor command stack |
org.eclipse.swt.widgets.Control |
getControl()
|
protected void |
refresh()
Refresh documentation contents |
void |
selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
|
void |
setFocus()
|
void |
setIdentifiedItem(IdentifiedItem elt)
Update the IdentifiedItem depending on the current selection |
| 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 |
| Constructor Detail |
|---|
public IdentifiedItemDocPage(org.eclipse.gef.commands.CommandStack stack)
stack - the editor command stack| Method Detail |
|---|
public void dispose()
dispose in interface org.eclipse.ui.part.IPagedispose in class org.eclipse.ui.part.PageIPropertySheetEntry.dispose()protected org.eclipse.gef.commands.CommandStack getCommandStack()
protected void refresh()
public void createControl(org.eclipse.swt.widgets.Composite parent)
createControl in interface org.eclipse.ui.part.IPagecreateControl in class org.eclipse.ui.part.PagePage.createControl(org.eclipse.swt.widgets.Composite)public void setIdentifiedItem(IdentifiedItem elt)
elt - The IdentifiedItem which is currently activepublic org.eclipse.swt.widgets.Control getControl()
getControl in interface org.eclipse.ui.part.IPagegetControl in class org.eclipse.ui.part.PagePage.getControl()public void setFocus()
setFocus in interface org.eclipse.ui.part.IPagesetFocus in class org.eclipse.ui.part.PagePage.setFocus()
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
ISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)
|
SAM | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.