public class TreeCompositeViewer extends org.eclipse.ui.part.ViewPart implements IUpdateableListener, org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The id
|
component
Constructor and Description |
---|
TreeCompositeViewer()
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
Create the tree viewer that shows the TreeComposite for the current Form
|
void |
dispose()
Disposes of any data or structures required by the viewer.
|
java.lang.Object |
getAdapter(java.lang.Class adapter)
This operation creates an adapter that allows this viewer to publish
information in the properties view.
|
java.lang.String |
getContributorId()
This operation returns the contributor id of this view.
|
ICEFormEditor |
getFormEditor()
Gets the source of the
inputTree . |
void |
setFocus()
A simple pass-through for setting the focus.
|
void |
setInput(TreeComposite tree,
ICEFormEditor source)
This operation sets the TreeComposite that should be displayed for the
current FormEditor.
|
void |
update(IUpdateable component)
This method is only called by TreeComposites and their child data nodes
(Components).
|
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
public ICEFormEditor getFormEditor()
inputTree
. This should be marked as dirty
if and when the tree's contents are changed.ICEFormEditor
, or null if none is set.public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
WorkbenchPart.setFocus()
public void setInput(TreeComposite tree, ICEFormEditor source)
tree
- The tree compositesource
- The source editor for the tree.public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.ui.part.WorkbenchPart
public void dispose()
dispose
in interface org.eclipse.ui.IWorkbenchPart
dispose
in class org.eclipse.ui.part.WorkbenchPart
public void update(IUpdateable component)
update
in interface IUpdateableListener
component
- The component (a TreeComposite or Component) that has been
updated.public java.lang.String getContributorId()
getContributorId
in interface org.eclipse.ui.views.properties.tabbed.ITabbedPropertySheetPageContributor