Class 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 Detail

      • ContextMenuViewModelService

        public ContextMenuViewModelService()
        Deprecated.
    • 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