Class GenModelEditorTMDCustomization
- java.lang.Object
-
- org.eclipse.emfforms.internal.swt.treemasterdetail.DefaultTreeViewerCustomization
-
- org.eclipse.emfforms.internal.swt.treemasterdetail.DefaultTreeMasterDetailCustomization
-
- org.eclipse.emfforms.internal.editor.genmodel.GenModelEditorTMDCustomization
-
- All Implemented Interfaces:
ContentProviderProvider,DetailCompositeBuilder,Disposeable,DNDProvider,InitialSelectionProvider,LabelDecoratorProvider,LabelProviderProvider,MenuProvider,TreeMasterDetailSWTCustomization,TreeReadOnlyProvider,TreeViewerBuilder,TreeViewerCustomization,TreeWidthProvider,ViewerFilterProvider,ViewModelServiceProvider
public class GenModelEditorTMDCustomization extends DefaultTreeMasterDetailCustomization
GenModel Editor-specific customization for theTreeMasterDetailComposite.- Author:
- Martin Fleck
-
-
Constructor Summary
Constructors Constructor Description GenModelEditorTMDCustomization(CreateElementCallback createElementCallback, org.eclipse.emf.common.notify.Notifier notifier)Constructs a newGenModelEditorTMDCustomization.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.widgets.MenugetMenu(org.eclipse.jface.viewers.TreeViewer treeViewer, org.eclipse.emf.edit.domain.EditingDomain editingDomain)Returns the menu which will be added to the tree.-
Methods inherited from class org.eclipse.emfforms.internal.swt.treemasterdetail.DefaultTreeMasterDetailCustomization
createDetailComposite, enableVerticalCopy, getInitialTreeWidth, getViewModelServices, setDetailComposite, setInitialTreeWidth, setViewModelServices
-
Methods inherited from class org.eclipse.emfforms.internal.swt.treemasterdetail.DefaultTreeViewerCustomization
createTree, customizeMenu, customizeMenu, customizeMenu, dispose, getAdapterFactoryContentProvider, getComposedAdapterFactory, getContentProvider, getDragListener, getDragOperations, getDragTransferTypes, getDropListener, getDropOperations, getDropTransferTypes, getInitialSelection, getLabelDecorator, getLabelProvider, getViewerFilters, hasDND, isReadOnly, setContentProvider, setDragAndDrop, setInitialSelection, setLabelDecorator, setLabelProvider, setMenu, setReadOnly, setTree, setViewerFilters
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.ContentProviderProvider
getContentProvider
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.Disposeable
dispose
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.DNDProvider
getDragListener, getDragOperations, getDragTransferTypes, getDropListener, getDropOperations, getDropTransferTypes, hasDND
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.InitialSelectionProvider
getInitialSelection
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.LabelDecoratorProvider
getLabelDecorator
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.LabelProviderProvider
getLabelProvider
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.TreeReadOnlyProvider
isReadOnly
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.TreeViewerBuilder
createTree
-
Methods inherited from interface org.eclipse.emfforms.spi.swt.treemasterdetail.ViewerFilterProvider
getViewerFilters
-
-
-
-
Constructor Detail
-
GenModelEditorTMDCustomization
public GenModelEditorTMDCustomization(CreateElementCallback createElementCallback, org.eclipse.emf.common.notify.Notifier notifier)
Constructs a newGenModelEditorTMDCustomization.- Parameters:
createElementCallback- theCreateElementCallbacknotifier- The editor input that is being customized
-
-
Method Detail
-
getMenu
public org.eclipse.swt.widgets.Menu getMenu(org.eclipse.jface.viewers.TreeViewer treeViewer, org.eclipse.emf.edit.domain.EditingDomain editingDomain)Returns the menu which will be added to the tree.- Specified by:
getMenuin interfaceMenuProvider- Overrides:
getMenuin classDefaultTreeViewerCustomization- Parameters:
treeViewer- the treeviewereditingDomain- the editing domain- Returns:
- the menu
- See Also:
DefaultTreeViewerCustomization.getMenu(org.eclipse.jface.viewers.TreeViewer, org.eclipse.emf.edit.domain.EditingDomain)
-
-