public class MOOSETreeCompositeView extends TreeCompositeViewer implements org.eclipse.ui.IPartListener2
TreeCompositeViewer
to add new
functionality in support of MOOSE model development. This includes:
MOOSEFormEditor
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The ID of this view.
|
component
Constructor and Description |
---|
MOOSETreeCompositeView() |
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
Overrides the parent class's behavior to register as a workbench part
listener.
|
void |
partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
This is called when an editor has been activated.
|
void |
partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef) |
void |
partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
This is called when an editor has been closed.
|
void |
partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef) |
void |
partHidden(org.eclipse.ui.IWorkbenchPartReference partRef) |
void |
partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef) |
void |
partOpened(org.eclipse.ui.IWorkbenchPartReference partRef) |
void |
partVisible(org.eclipse.ui.IWorkbenchPartReference partRef) |
dispose, getAdapter, getContributorId, getFormEditor, setFocus, setInput, update
getViewSite, init, init, saveState, setInitializationData
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
public static final java.lang.String ID
plugin.xml
.public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class TreeCompositeViewer
public void partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
MOOSEFormEditor
, mark it as the active editor and refresh the
content of this view.partActivated
in interface org.eclipse.ui.IPartListener2
public void partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
partBroughtToTop
in interface org.eclipse.ui.IPartListener2
public void partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
editor
and empties the contents of this view if the currently
active editor was closed.partClosed
in interface org.eclipse.ui.IPartListener2
public void partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
partDeactivated
in interface org.eclipse.ui.IPartListener2
public void partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
partOpened
in interface org.eclipse.ui.IPartListener2
public void partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
partHidden
in interface org.eclipse.ui.IPartListener2
public void partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
partVisible
in interface org.eclipse.ui.IPartListener2
public void partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
partInputChanged
in interface org.eclipse.ui.IPartListener2