Examples of fillContextMenu()


Examples of org.eclipse.jst.pagedesigner.actions.container.ContainerActionGroup.fillContextMenu()

                new ContainerActionGroup();
            ActionContext context = new ActionContext(_viewer
                    .getSelection());
            context.setInput(_viewer);
            containerActionGroup.setContext(context);
            containerActionGroup.fillContextMenu(menuMgr1);
            containerActionGroup.setContext(null);

            // TODO: TableActionGroup

            // if on a text context, (instead of a ElementEditPart),
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.actions.menuextension.CustomedContextMenuActionGroup.fillContextMenu()

            CustomedContextMenuActionGroup customedMenu = new CustomedContextMenuActionGroup();
            customedMenu.setContext(new ActionContext(_viewer
                    .getSelection()));
            customedMenu.setModel(_model);
            customedMenu.setParentControl(_viewer.getControl());
            customedMenu.fillContextMenu(menuMgr1);
            customedMenu.setContext(null);
            customedMenu.setParentControl(null);
            customedMenu.setModel(null);

            //add skins menu
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.actions.range.RangeActionGroup.fillContextMenu()

            // add text styling actions
            final RangeActionGroup rangeActionGroup = new RangeActionGroup();
            context = new ActionContext(_viewer.getSelection());
            context.setInput(_viewer);
            rangeActionGroup.setContext(context);
            rangeActionGroup.fillContextMenu(menuMgr1);
            rangeActionGroup.setContext(null);

            // Add actions for single ElementEditPart's that are common
            // to all
            final SingleElementActionGroup singleActionGroup =
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.actions.single.SingleElementActionGroup.fillContextMenu()

            // to all
            final SingleElementActionGroup singleActionGroup =
                new SingleElementActionGroup();
            singleActionGroup.setContext(new ActionContext(_viewer
                    .getSelection()));
            singleActionGroup.fillContextMenu(menuMgr1);
            singleActionGroup.setContext(null);

            // add "Show In" actions...
            final RelatedViewActionGroup viewMenu = new RelatedViewActionGroup(getEditDomain());
            context = new ActionContext(_viewer.getSelection());
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.editors.actions.RelatedViewActionGroup.fillContextMenu()

            // add "Show In" actions...
            final RelatedViewActionGroup viewMenu = new RelatedViewActionGroup(getEditDomain());
            context = new ActionContext(_viewer.getSelection());
            viewMenu.setContext(context);
            viewMenu.fillContextMenu(menuMgr1);

            // add extension point contributed menu actions
            CustomedContextMenuActionGroup customedMenu = new CustomedContextMenuActionGroup();
            customedMenu.setContext(new ActionContext(_viewer
                    .getSelection()));
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.elementedit.IElementEdit.fillContextMenu()

    addStylelMenu(menu, part, ele);

    // next add element special actions
    IElementEdit elementEdit = part.getElementEdit();
    if (elementEdit != null) {
      elementEdit.fillContextMenu(menu, ele);
    }
  }

  /**
   * @param selection
View Full Code Here

Examples of org.eclipse.jst.pagedesigner.extensionpoint.IContextMenuItemContributor.fillContextMenu()

      IContextMenuItemContributor contributor = (IContextMenuItemContributor) list
          .get(i);
      IFile file = StructuredModelUtil.getFileFor(_model);
      if (file != null && contributor.getURI() != null) {
        if (JSPUtil.supportTaglib(contributor.getURI(), file)) {
          contributor.fillContextMenu(menuMgr, getContext()
              .getSelection(), _model, _parentControl);
        }
      }
    }
  }
View Full Code Here

Examples of org.eclipse.wst.xml.ui.internal.contentoutline.XMLNodeActionManager.fillContextMenu()

        public void endNodeAction(NodeAction action) {
          super.endNodeAction(action);
        }
      };
      nodeActionManager.fillContextMenu(menuManager, getSelection());
    }
  }
 
  private class SelectionProvider implements IPostSelectionProvider {
View Full Code Here

Examples of org.mongodb.meclipse.views.objects.TreeObject.fillContextMenu()

          return;
        }
        TreeObject obj = (TreeObject) selection.getFirstElement();

        manager.add(new Separator());
        obj.fillContextMenu(manager);

      }
    });
    Menu menu = menuMgr.createContextMenu(viewer.getControl());
    viewer.getControl().setMenu(menu);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.