Package org.eclipse.jst.pagedesigner.actions.menuextension

Examples of org.eclipse.jst.pagedesigner.actions.menuextension.CustomedContextMenuActionGroup


            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()));
            customedMenu.setModel(_model);
            customedMenu.setParentControl(_viewer.getControl());
            customedMenu.fillContextMenu(menuMgr1);
            customedMenu.setContext(null);
            customedMenu.setParentControl(null);
            customedMenu.setModel(null);

            //add skins menu
            IEditorInput editorInput = _delegate.getEditorInput();
      if (editorInput instanceof IFileEditorInput) {
        IFile file = ((IFileEditorInput)editorInput).getFile();
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.actions.menuextension.CustomedContextMenuActionGroup

Copyright © 2018 www.massapicom. 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.