Package org.mevenide.idea.project.goals

Examples of org.mevenide.idea.project.goals.PomPluginGoalsManager


            final String url = PomUtils.selectPom(project, DLG_TITLE, DLG_LABEL);
            if (url == null || url.trim().length() == 0)
                return;

            final PomPluginGoalsManager plgMgr = PomPluginGoalsManager.getInstance(project);
            for (Goal goal : goals)
                if (goal instanceof PluginGoal)
                    plgMgr.addPluginGoal(url, ((PluginGoal) goal));
        }
    }
View Full Code Here


        if (PomManagerPanel.PLACE.equals(pEvent.getPlace())) {
            final PomManagerPanel ui = pomMgr.getToolWindowComponent();
            if (ui == null)
                return;

            final PomPluginGoalsManager plgMgr = PomPluginGoalsManager.getInstance(project);

            final String[] projects = ui.getPomsWithSelectedGoals(false);
            for (String url : projects) {
                final Goal[] goals = ui.getSelectedGoalsForPom(url);
                for (Goal goal : goals)
                    if (goal instanceof PluginGoal)
                        plgMgr.removePluginGoal(url, (PluginGoal) goal);
            }

        }
    }
View Full Code Here

TOP

Related Classes of org.mevenide.idea.project.goals.PomPluginGoalsManager

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.