Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ContextMenuViewModelService()`

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.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods inherited from interface org.eclipse.emf.ecp.view.spi.context.ViewModelService
`dispose, getPriority, instantiate`

Constructor Detail

### ContextMenuViewModelService

    public ContextMenuViewModelService()

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2015. All Rights Reserved.