Class ContextMenuViewModelService
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.swt.ContextMenuViewModelService
-
- All Implemented Interfaces:
ViewModelService
@Deprecated public abstract class ContextMenuViewModelService extends java.lang.Object implements ViewModelService
Deprecated.use the GenericEditor instead- Author:
- Alexandra Buzila
-
-
Constructor Summary
Constructors Constructor Description ContextMenuViewModelService()
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.eclipse.swt.widgets.Control
getParentControl()
Deprecated.Get the control to which the context menu should be added.abstract boolean
registerContextMenu()
Deprecated.Implement to register the context menu to the parent control.void
setParentControl(org.eclipse.swt.widgets.Control parentControl)
Deprecated.Set the control to which the context menu should be added.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.emf.ecp.view.spi.context.ViewModelService
dispose, getPriority, instantiate
-
-
-
-
Method Detail
-
setParentControl
public void setParentControl(org.eclipse.swt.widgets.Control parentControl)
Deprecated.Set the control to which the context menu should be added.- Parameters:
parentControl
- - the control
-
getParentControl
public org.eclipse.swt.widgets.Control getParentControl()
Deprecated.Get the control to which the context menu should be added.- Returns:
- the control
-
registerContextMenu
public abstract boolean registerContextMenu()
Deprecated.Implement to register the context menu to the parent control.- Returns:
- true if registration was successful
-
-