Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilos Kleint2011-01-18 07:32:01 -0500
committerMilos Kleint2011-01-18 07:32:01 -0500
commit33e8c8e7c3e122ece83787f3f863fac989cf71e9 (patch)
tree195efaeb0bfce084a78650a69d0cdd003ef40818 /org.eclipse.m2e.refactoring
parent899dda1fb932d0999713bf7df4254df88c462a8f (diff)
downloadm2e-core-33e8c8e7c3e122ece83787f3f863fac989cf71e9.tar.gz
m2e-core-33e8c8e7c3e122ece83787f3f863fac989cf71e9.tar.xz
m2e-core-33e8c8e7c3e122ece83787f3f863fac989cf71e9.zip
MNGECLIPSE-2707 m2menu extension point -> /dev/null
Diffstat (limited to 'org.eclipse.m2e.refactoring')
-rw-r--r--org.eclipse.m2e.refactoring/plugin.xml4
-rw-r--r--org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/internal/RefactoringMavenMenuCreator.java36
2 files changed, 0 insertions, 40 deletions
diff --git a/org.eclipse.m2e.refactoring/plugin.xml b/org.eclipse.m2e.refactoring/plugin.xml
index f7bf62fa..8dd7e3b1 100644
--- a/org.eclipse.m2e.refactoring/plugin.xml
+++ b/org.eclipse.m2e.refactoring/plugin.xml
@@ -104,8 +104,4 @@
</extension>
- <!--extension point="org.eclipse.m2e.core.m2menu">
- <factory class="org.eclipse.m2e.refactoring.internal.RefactoringMavenMenuCreator"/>
- </extension-->
-
</plugin>
diff --git a/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/internal/RefactoringMavenMenuCreator.java b/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/internal/RefactoringMavenMenuCreator.java
deleted file mode 100644
index 781599cd..00000000
--- a/org.eclipse.m2e.refactoring/src/org/eclipse/m2e/refactoring/internal/RefactoringMavenMenuCreator.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008-2010 Sonatype, Inc.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Sonatype, Inc. - initial API and implementation
- *******************************************************************************/
-
-package org.eclipse.m2e.refactoring.internal;
-
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.m2e.core.actions.AbstractMavenMenuCreator;
-import org.eclipse.m2e.core.actions.SelectionUtil;
-import org.eclipse.m2e.refactoring.Messages;
-import org.eclipse.m2e.refactoring.exclude.DependencyExcludeAction;
-
-/**
- * @author Eugene Kuleshov
- */
-public class RefactoringMavenMenuCreator extends AbstractMavenMenuCreator {
-
- public void createMenu(IMenuManager mgr) {
- int selectionType = SelectionUtil.getSelectionType(selection);
- if(selectionType == SelectionUtil.JAR_FILE) {
- mgr.appendToGroup(OPEN, getAction(new DependencyExcludeAction(), //
- DependencyExcludeAction.ID, //
- Messages.RefactoringMavenMenuCreator_action_exclude, //
- RefactoringImages.EXCLUDE));
- }
- }
-
-}
-

Back to the top