public class DefaultTreeMasterDetailCustomization extends DefaultTreeViewerCustomization implements TreeMasterDetailSWTCustomization
TreeMasterDetailSWTCustomization.| Constructor and Description |
|---|
DefaultTreeMasterDetailCustomization()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.swt.widgets.Composite |
createDetailComposite(org.eclipse.swt.widgets.Composite parent)
Called to create the detail composite on the right.
|
int |
getInitialTreeWidth()
Returns the initial width for the composite displaying the tree.
|
ViewModelService[] |
getViewModelServices(VView view,
org.eclipse.emf.ecore.EObject eObject)
Returns newly created view model services which will be used when the given view for the given object is
rendered.
|
void |
setDetailComposite(DetailCompositeBuilder detailComposite)
Sets the detail composite builder.
|
void |
setInitialTreeWidth(TreeWidthProvider width)
Sets the tree width provider.
|
void |
setViewModelServices(ViewModelServiceProvider viewServiceProvider)
Sets the view model services provider.
|
createTree, customizeMenu, customizeMenu, customizeMenu, dispose, getAdapterFactoryContentProvider, getComposedAdapterFactory, getContentProvider, getDragListener, getDragOperations, getDragTransferTypes, getDropListener, getDropOperations, getDropTransferTypes, getInitialSelection, getLabelDecorator, getLabelProvider, getMenu, getViewerFilters, hasDND, setContentProvider, setDragAndDrop, setInitialSelection, setLabelDecorator, setLabelProvider, setMenu, setTree, setViewerFiltersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateTreegetContentProvidergetDragListener, getDragOperations, getDragTransferTypes, getDropListener, getDropOperations, getDropTransferTypes, hasDNDgetInitialSelectiongetLabelProvidergetViewerFiltersgetMenugetLabelDecoratordisposepublic DefaultTreeMasterDetailCustomization()
public int getInitialTreeWidth()
TreeWidthProvidergetInitialTreeWidth in interface TreeWidthProviderpublic org.eclipse.swt.widgets.Composite createDetailComposite(org.eclipse.swt.widgets.Composite parent)
DetailCompositeBuildercreateDetailComposite in interface DetailCompositeBuilderparent - the parent compositepublic ViewModelService[] getViewModelServices(VView view, org.eclipse.emf.ecore.EObject eObject)
ViewModelServiceProvidergetViewModelServices in interface ViewModelServiceProviderview - the view to be renderedeObject - the object to be renderedpublic void setDetailComposite(DetailCompositeBuilder detailComposite)
detailComposite - the builderpublic void setInitialTreeWidth(TreeWidthProvider width)
width - the providerpublic void setViewModelServices(ViewModelServiceProvider viewServiceProvider)
viewServiceProvider - the providerCopyright © 2016. All rights reserved.