|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectPage
com.pnp.xfeature.editor.MetaModelEditorOutlinePage
public class MetaModelEditorOutlinePage
This is a sample implementation of an outline page showing an overview figure and an tree outline of the main graphical viewer provided by the current active page of an multi page editor.
| Constructor Summary | |
|---|---|
MetaModelEditorOutlinePage(FeatureDiagramEditor editor)
calls superclass implementation and assigns the editor to the outline page |
|
| Method Summary | |
|---|---|
void |
addSelectionChangedListener(ISelectionChangedListener listener)
Adds the selection listener. |
void |
createControl(Composite parent)
Creates the oultine view control. |
void |
dispose()
Disposes the outline view |
Control |
getControl()
returns the pageBook |
EditDomain |
getEditDomain()
Returns the current edit domain. |
FeatureDiagramEditor |
getMetaModelEditor()
Returns the worklfow editor. |
java.lang.Object |
getOutlineContent()
Returns the outlineContent. |
RootEditPart |
getOverviewContent()
Returns the root edit part |
ISelection |
getSelection()
Returns the selected items in the outline view. |
TreeViewer |
getTreeViewer()
Returns the tree viewer. |
void |
initialize(EditorPart newPageTMP)
Initializes this outline page from a given editor page. |
void |
removeSelectionChangedListener(ISelectionChangedListener listener)
Removes the selection listener. |
void |
setEditDomain(EditDomain domain)
Sets the edit domain. |
void |
setFocus()
Sets focus on self. |
void |
setMetaModelEditor(FeatureDiagramEditor editor)
Sets the worklfow editor. |
void |
setOutlineContent(java.lang.Object element)
Sets the outlineContent. |
void |
setOverviewContent(RootEditPart part)
Sets the root edit part. |
void |
setSelection(ISelection selection)
Selects the items in the outline view. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaModelEditorOutlinePage(FeatureDiagramEditor editor)
| Method Detail |
|---|
public Control getControl()
org.eclipse.ui.part.IPage#getControl()public void setEditDomain(EditDomain domain)
domain - public EditDomain getEditDomain()
public void setFocus()
org.eclipse.ui.part.IPage#setFocus()public void setMetaModelEditor(FeatureDiagramEditor editor)
editor - public FeatureDiagramEditor getMetaModelEditor()
public void setOutlineContent(java.lang.Object element)
public java.lang.Object getOutlineContent()
public void setOverviewContent(RootEditPart part)
part - public RootEditPart getOverviewContent()
public void setSelection(ISelection selection)
org.eclipse.jface.viewers.ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)public ISelection getSelection()
org.eclipse.jface.viewers.ISelectionProvider#getSelection()public TreeViewer getTreeViewer()
public void addSelectionChangedListener(ISelectionChangedListener listener)
org.eclipse.jface.viewers.ISelectionProvider#addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)public void createControl(Composite parent)
org.eclipse.ui.part.IPage#createControl(org.eclipse.swt.widgets.Composite)public void dispose()
org.eclipse.ui.part.IPage#dispose()public void initialize(EditorPart newPageTMP)
public void removeSelectionChangedListener(ISelectionChangedListener listener)
org.eclipse.jface.viewers.ISelectionProvider#removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||