Package org.mevenide.idea.project.actions

Examples of org.mevenide.idea.project.actions.AddPluginGoalToPomAction


                                                               this);

        final DefaultActionGroup actionGrp = new DefaultActionGroup("POM Manager", false);
        actionGrp.add(new ExecuteGoalAction());
        actionGrp.addSeparator();
        actionGrp.add(new AddPluginGoalToPomAction());
        actionGrp.add(new RemovePluginGoalFromPomAction());
        actionGrp.addSeparator();
        actionGrp.add(new RefreshPomToolWindowAction());
        actionGrp.add(autoScrollAction);
        actionGrp.addSeparator();
        actionGrp.add(cmnActionsMgr.createCollapseAllAction(treeExpanded));
        actionGrp.add(cmnActionsMgr.createExpandAllAction(treeExpanded));

        final ActionToolbar toolbar = actionMgr.createActionToolbar(PLACE, actionGrp, true);
        add(toolbar.getComponent(), BorderLayout.PAGE_START);

        //
        //install popup menu on tree
        //
        final DefaultActionGroup popupGrp = new DefaultActionGroup("POM Manager Popup", true);
        popupGrp.add(new ExecuteGoalAction());
        actionGrp.addSeparator();
        popupGrp.add(new AddPluginGoalToPomAction());
        popupGrp.add(new RemovePluginGoalFromPomAction());
        actionGrp.addSeparator();
        popupGrp.add(new SynchronizeWithModuleActionGroup(project));
        PopupHandler.installPopupHandler(tree, popupGrp, PLACE, actionMgr);
    }
View Full Code Here

TOP

Related Classes of org.mevenide.idea.project.actions.AddPluginGoalToPomAction

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.