org.eclipse.emf.ecp.view.internal.swt
Class ContextMenuViewModelService
java.lang.Object
org.eclipse.emf.ecp.view.internal.swt.ContextMenuViewModelService
- All Implemented Interfaces:
- ViewModelService
public abstract class ContextMenuViewModelService
- extends Object
- implements ViewModelService
- Author:
- Alexandra Buzila
Method Summary |
org.eclipse.swt.widgets.Control |
getParentControl()
Get the control to which the context menu should be added. |
abstract boolean |
registerContextMenu()
|
void |
setParentControl(org.eclipse.swt.widgets.Control parentControl)
Set the control to which the context menu should be added. |
ContextMenuViewModelService
public ContextMenuViewModelService()
setParentControl
public void setParentControl(org.eclipse.swt.widgets.Control parentControl)
- Set the control to which the context menu should be added.
- Parameters:
parentControl
- - the control
getParentControl
public org.eclipse.swt.widgets.Control getParentControl()
- Get the control to which the context menu should be added.
- Returns:
- the control
registerContextMenu
public abstract boolean registerContextMenu()
Copyright © 2015. All Rights Reserved.