Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Piggott2011-04-18 17:57:28 -0400
committerMatthew Piggott2011-04-18 18:01:10 -0400
commita9bde94d569a1c93b267ab7e16609680198429fa (patch)
tree728df3ffe4d448b531488793be8ee6216b2f2dbb
parent8fb9652f1391d524d1facba9ff6cf9580b44fa12 (diff)
downloadm2e-core-a9bde94d569a1c93b267ab7e16609680198429fa.tar.gz
m2e-core-a9bde94d569a1c93b267ab7e16609680198429fa.tar.xz
m2e-core-a9bde94d569a1c93b267ab7e16609680198429fa.zip
Removed most Open menu items from right-click menu
-rw-r--r--org.eclipse.m2e.core.ui/plugin.xml186
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/Messages.java18
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/OpenUrlAction.java233
-rw-r--r--org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties9
-rw-r--r--org.eclipse.m2e.jdt/plugin.xml106
5 files changed, 4 insertions, 548 deletions
diff --git a/org.eclipse.m2e.core.ui/plugin.xml b/org.eclipse.m2e.core.ui/plugin.xml
index f1c6e433..3c4c34e1 100644
--- a/org.eclipse.m2e.core.ui/plugin.xml
+++ b/org.eclipse.m2e.core.ui/plugin.xml
@@ -152,88 +152,8 @@
<objectState name="nature" value="org.eclipse.m2e.core.maven2Nature"/>
</and>
</visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.openCiPage"
- objectClass="org.eclipse.core.resources.IProject"
- adaptable="true">
- <action id="org.eclipse.m2e.openCiPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openCiPage"
- label="%m2.popup.OpenUrlAction.openCiPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.mavenMenu/open"
- enablesFor="+"/>
- <visibility>
- <and>
- <objectState name="open" value="true"/>
- <objectState name="nature" value="org.eclipse.m2e.core.maven2Nature"/>
- </and>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.openScmPage"
- objectClass="org.eclipse.core.resources.IProject"
- adaptable="true">
- <action id="org.eclipse.m2e.openScmPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openScmPage"
- label="%m2.popup.OpenUrlAction.openScmPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.mavenMenu/open"
- enablesFor="+"/>
- <visibility>
- <and>
- <objectState name="open" value="true"/>
- <objectState name="nature" value="org.eclipse.m2e.core.maven2Nature"/>
- </and>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.openIssuesPage"
- objectClass="org.eclipse.core.resources.IProject"
- adaptable="true">
- <action id="org.eclipse.m2e.openIssuesPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openIssuesPage"
- label="%m2.popup.OpenUrlAction.openIssuesPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.mavenMenu/open"
- enablesFor="+"/>
- <visibility>
- <and>
- <objectState name="open" value="true"/>
- <objectState name="nature" value="org.eclipse.m2e.core.maven2Nature"/>
- </and>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.openProjectPage"
- objectClass="org.eclipse.core.resources.IProject"
- adaptable="true">
- <action id="org.eclipse.m2e.openProjectPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openProjectPage"
- label="%m2.popup.OpenUrlAction.openProjectPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.mavenMenu/open"
- enablesFor="+"/>
- <visibility>
- <and>
- <objectState name="open" value="true"/>
- <objectState name="nature" value="org.eclipse.m2e.core.maven2Nature"/>
- </and>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.openPomAction"
- objectClass="org.eclipse.core.resources.IProject"
- adaptable="true">
- <action id="org.eclipse.m2e.openPomAction"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenPomAction"
- label="%m2.popup.OpenPomAction"
- style="push"
- menubarPath="org.eclipse.m2e.core.mavenMenu/open"
- enablesFor="+"/>
- <visibility>
- <and>
- <objectState name="open" value="true"/>
- <objectState name="nature" value="org.eclipse.m2e.core.maven2Nature"/>
- </and>
- </visibility>
- </objectContribution>
-
+ </objectContribution>
+
<objectContribution id="org.eclipse.m2e.disableAction"
objectClass="org.eclipse.core.resources.IProject"
adaptable="true">
@@ -250,10 +170,6 @@
</and>
</visibility>
</objectContribution>
-
-
-
-
<!--
NOW WE HAVE POMFILE MENU CONTRIBUTIONS
@@ -312,77 +228,8 @@
<objectState name="name" value="pom.xml"/>
</visibility>
</objectContribution>
-
- <objectContribution id="org.eclipse.m2e.fileMenu.openCiPage"
- objectClass="org.eclipse.core.resources.IFile"
- adaptable="true">
- <action id="org.eclipse.m2e.openCiPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openCiPage"
- label="%m2.popup.OpenUrlAction.openCiPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.fileMenu/open"
- enablesFor="+"/>
- <visibility>
- <objectState name="name" value="pom.xml"/>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.fileMenu.openScmPage"
- objectClass="org.eclipse.core.resources.IFile"
- adaptable="true">
- <action id="org.eclipse.m2e.openScmPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openScmPage"
- label="%m2.popup.OpenUrlAction.openScmPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.fileMenu/open"
- enablesFor="+"/>
- <visibility>
- <objectState name="name" value="pom.xml"/>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.fileMenu.openIssuesPage"
- objectClass="org.eclipse.core.resources.IFile"
- adaptable="true">
- <action id="org.eclipse.m2e.openIssuesPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openIssuesPage"
- label="%m2.popup.OpenUrlAction.openIssuesPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.fileMenu/open"
- enablesFor="+"/>
- <visibility>
- <objectState name="name" value="pom.xml"/>
- </visibility>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.fileMenu.openProjectPage"
- objectClass="org.eclipse.core.resources.IFile"
- adaptable="true">
- <action id="org.eclipse.m2e.openProjectPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openProjectPage"
- label="%m2.popup.OpenUrlAction.openProjectPage"
- style="push"
- menubarPath="org.eclipse.m2e.core.fileMenu/open"
- enablesFor="+"/>
- <visibility>
- <objectState name="name" value="pom.xml"/>
- </visibility>
- </objectContribution>
-
- <objectContribution id="org.eclipse.m2e.fileMenu.openPomAction"
- objectClass="org.eclipse.core.resources.IFile"
- adaptable="true">
- <action id="org.eclipse.m2e.openPomAction"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenPomAction"
- label="%m2.popup.OpenPomAction"
- style="push"
- menubarPath="org.eclipse.m2e.core.fileMenu/open"
- enablesFor="+"/>
- <visibility>
- <objectState name="name" value="pom.xml"/>
- </visibility>
- </objectContribution>
-
-
+
<!-- MNGECLIPSE-2564 -for *not* maven project, add the Convert to Maven Project action -->
-
<objectContribution id="org.eclipse.m2e.enableNatureAction"
objectClass="org.eclipse.core.resources.IProject"
adaptable="true">
@@ -423,7 +270,7 @@
<groupMarker name="import"/>
</menu>
</objectContribution>
-
+
<objectContribution id="org.eclipse.m2e.workingSet.updateConfigurationAction"
adaptable="true"
objectClass="org.eclipse.ui.IWorkingSet">
@@ -471,31 +318,6 @@
enablesFor="1"/>
</objectContribution>
- <objectContribution id="org.eclipse.m2e.core.openProjectPageArtifact"
- objectClass="org.apache.maven.artifact.Artifact"
- adaptable="false">
- <action id="org.eclipse.m2e.core.ui.openPomArtifactUrl"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.core.openProjectPage"
- label="%openprojectaction.label"
- enablesFor="1"/>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.core.openAetherProjectPageDependencyNode"
- objectClass="org.sonatype.aether.graph.DependencyNode"
- adaptable="false">
- <action id="org.eclipse.m2e.core.ui.openPomDependencyUrl"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.core.openProjectPage"
- label="%openprojectaction.label3"
- enablesFor="1"/>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.core.openopenProjectPageDependency"
- objectClass="org.eclipse.m2e.model.edit.pom.Dependency"
- adaptable="false">
- <action id="org.eclipse.m2e.core.ui.openPomArtifactUrl"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.core.openProjectPage"
- label="%openprojectaction.label4"
- enablesFor="1"/>
- </objectContribution>
-
<!-- doesn't seem to work as I would expect to.
objectContribution id="org.eclipse.m2e.core.ui.repositoryViewMenu"
objectClass="org.eclipse.m2e.core.ui.internal.views.nodes.IMavenRepositoryNode"
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/Messages.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/Messages.java
index 34b3fd19..07df7dde 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/Messages.java
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/Messages.java
@@ -576,24 +576,6 @@ public class Messages extends NLS {
public static String OpenPomAction_title_pom;
- public static String OpenUrlAction_browser_title;
-
- public static String OpenUrlAction_error_no_ci;
-
- public static String OpenUrlAction_error_no_issues;
-
- public static String OpenUrlAction_error_no_scm;
-
- public static String OpenUrlAction_error_no_url;
-
- public static String OpenUrlAction_error_open;
-
- public static String OpenUrlAction_job_browser;
-
- public static String OpenUrlAction_open_url_message;
-
- public static String OpenUrlAction_open_url_title;
-
public static String PomHelper_errorCreatingChange;
public static String RemoteArchetypeCatalogDialog_btnVerify;
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/OpenUrlAction.java b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/OpenUrlAction.java
deleted file mode 100644
index d9b6bede..00000000
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/actions/OpenUrlAction.java
+++ /dev/null
@@ -1,233 +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.core.ui.internal.actions;
-
-import java.io.File;
-import java.net.MalformedURLException;
-import java.net.URL;
-import java.util.List;
-
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.IExecutableExtension;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.osgi.util.NLS;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.IWorkbenchWindowActionDelegate;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.actions.ActionDelegate;
-import org.eclipse.ui.browser.IWebBrowser;
-import org.eclipse.ui.browser.IWorkbenchBrowserSupport;
-
-import org.apache.maven.artifact.Artifact;
-import org.apache.maven.artifact.repository.ArtifactRepository;
-import org.apache.maven.model.CiManagement;
-import org.apache.maven.model.IssueManagement;
-import org.apache.maven.model.Scm;
-import org.apache.maven.project.MavenProject;
-
-import org.eclipse.m2e.core.MavenPlugin;
-import org.eclipse.m2e.core.embedder.ArtifactKey;
-import org.eclipse.m2e.core.embedder.IMaven;
-import org.eclipse.m2e.core.project.IMavenProjectFacade;
-import org.eclipse.m2e.core.ui.internal.Messages;
-
-
-/**
- * Open Url Action
- *
- * @author Eugene Kuleshov
- */
-public class OpenUrlAction extends ActionDelegate implements IWorkbenchWindowActionDelegate, IExecutableExtension {
- private static final Logger log = LoggerFactory.getLogger(OpenUrlAction.class);
-
- public static final String ID_PROJECT = "org.eclipse.m2e.openProjectPage"; //$NON-NLS-1$
-
- public static final String ID_ISSUES = "org.eclipse.m2e.openIssuesPage"; //$NON-NLS-1$
-
- public static final String ID_SCM = "org.eclipse.m2e.openScmPage"; //$NON-NLS-1$
-
- public static final String ID_CI = "org.eclipse.m2e.openCiPage"; //$NON-NLS-1$
-
- String actionId;
-
- private IStructuredSelection selection;
-
- public OpenUrlAction() {
- }
-
- public OpenUrlAction(String id) {
- this.actionId = id;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
- */
- public void selectionChanged(IAction action, ISelection selection) {
- if(selection instanceof IStructuredSelection) {
- this.selection = (IStructuredSelection) selection;
- } else {
- this.selection = null;
- }
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
- */
- public void run(IAction action) {
- if(selection != null) {
- try {
- Object element = this.selection.getFirstElement();
- final ArtifactKey a = SelectionUtil.getArtifactKey(element);
- if(a != null) {
- new Job(Messages.OpenUrlAction_job_browser) {
- protected IStatus run(IProgressMonitor monitor) {
- openBrowser(actionId, a.getGroupId(), a.getArtifactId(), a.getVersion(), monitor);
- return Status.OK_STATUS;
- }
-
- }.schedule();
- return;
- }
- } catch(CoreException ex) {
- log.error(ex.getMessage(), ex);
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- public void run() {
- MessageDialog.openInformation(Display.getDefault().getActiveShell(), //
- Messages.OpenUrlAction_open_url_title, Messages.OpenUrlAction_open_url_message);
- }
- });
- }
- }
- }
-
- public static void openBrowser(String actionId, String groupId, String artifactId, String version, IProgressMonitor monitor) {
- try {
- MavenProject mavenProject = getMavenProject(groupId, artifactId, version, monitor);
- final String url = getUrl(actionId, mavenProject);
- if(url!=null) {
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- public void run() {
- try {
- IWorkbenchBrowserSupport browserSupport = PlatformUI.getWorkbench().getBrowserSupport();
- IWebBrowser browser = browserSupport.createBrowser(IWorkbenchBrowserSupport.NAVIGATION_BAR
- | IWorkbenchBrowserSupport.LOCATION_BAR, url, url, url);
- browser.openURL(new URL(url));
- } catch(PartInitException ex) {
- log.error(ex.getMessage(), ex);
- } catch(MalformedURLException ex) {
- log.error("Malformed url " + url, ex);
- }
- }
- });
- }
- } catch(Exception ex) {
- log.error("Can't open URL", ex);
- }
- }
-
- private static String getUrl(String actionId, MavenProject mavenProject) {
- String url = null;
- if(ID_PROJECT.equals(actionId)) {
- url = mavenProject.getUrl();
- if(url == null) {
- openDialog(Messages.OpenUrlAction_error_no_url);
- }
- } else if(ID_ISSUES.equals(actionId)) {
- IssueManagement issueManagement = mavenProject.getIssueManagement();
- if(issueManagement != null) {
- url = issueManagement.getUrl();
- }
- if(url == null) {
- openDialog(Messages.OpenUrlAction_error_no_issues);
- }
- } else if(ID_SCM.equals(actionId)) {
- Scm scm = mavenProject.getScm();
- if(scm != null) {
- url = scm.getUrl();
- }
- if(url == null) {
- openDialog(Messages.OpenUrlAction_error_no_scm);
- }
- } else if(ID_CI.equals(actionId)) {
- CiManagement ciManagement = mavenProject.getCiManagement();
- if(ciManagement != null) {
- url = ciManagement.getUrl();
- }
- if(url == null) {
- openDialog(Messages.OpenUrlAction_error_no_ci);
- }
- }
- return url;
- }
-
- private static MavenProject getMavenProject(String groupId, String artifactId, String version, IProgressMonitor monitor) throws Exception {
- String name = groupId + ":" + artifactId + ":" + version;
-
- IMaven maven = MavenPlugin.getMaven();
-
- IMavenProjectFacade projectFacade = MavenPlugin.getMavenProjectRegistry().getMavenProject(groupId, artifactId,
- version);
- if(projectFacade != null) {
- return projectFacade.getMavenProject(monitor);
- }
-
- List<ArtifactRepository> artifactRepositories = maven.getArtifactRepositories();
-
- Artifact a = maven.resolve(groupId, artifactId, version, "pom", null, artifactRepositories, monitor); //$NON-NLS-1$
-
- File pomFile = a.getFile();
- if(pomFile == null) {
- openDialog(NLS.bind(Messages.OpenUrlAction_error_open, name));
- return null;
- }
-
- return maven.readProject(pomFile, monitor);
- }
-
- private static void openDialog(final String msg) {
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- public void run() {
- MessageDialog.openInformation(Display.getDefault().getActiveShell(), //
- Messages.OpenUrlAction_browser_title, msg);
- }
- });
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.IWorkbenchWindowActionDelegate#init(org.eclipse.ui.IWorkbenchWindow)
- */
- public void init(IWorkbenchWindow window) {
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.core.runtime.IExecutableExtension#setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)
- */
- public void setInitializationData(IConfigurationElement config, String propertyName, Object data) {
- if(data != null) {
- actionId = (String) data;
- }
- }
-
-}
diff --git a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
index eca7e1f9..a301da66 100644
--- a/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
+++ b/org.eclipse.m2e.core.ui/src/org/eclipse/m2e/core/ui/internal/messages.properties
@@ -276,15 +276,6 @@ OpenPomAction_open_error_message=Unable to read Maven project
OpenPomAction_open_error_title=Open POM
OpenPomAction_open_title=Open Maven POM
OpenPomAction_title_pom=Search Maven POM
-OpenUrlAction_browser_title=Open Browser
-OpenUrlAction_error_no_ci=Project does't specify Continuous Integration URL
-OpenUrlAction_error_no_issues=Project does't specify issue management URL
-OpenUrlAction_error_no_scm=Project does't specify SCM URL
-OpenUrlAction_error_no_url=Project does't specify project URL
-OpenUrlAction_error_open=Can't download {0} POM
-OpenUrlAction_job_browser=Opening Browser
-OpenUrlAction_open_url_message=Unable to read Maven project
-OpenUrlAction_open_url_title=Open URL
PomHelper_errorCreatingChange=An error occurred creating change
ProjectRepositoriesNode_name=Project Repositories
RemoteArchetypeCatalogDialog_btnVerify=&Verify...
diff --git a/org.eclipse.m2e.jdt/plugin.xml b/org.eclipse.m2e.jdt/plugin.xml
index 3ab8e889..5b81a340 100644
--- a/org.eclipse.m2e.jdt/plugin.xml
+++ b/org.eclipse.m2e.jdt/plugin.xml
@@ -168,59 +168,6 @@
<test property="org.eclipse.m2e.hasArtifactKey"/>
</enablement>
</objectContribution>
-
- <objectContribution id="org.eclipse.m2e.classpathMenu.openCiPage"
- objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
- adaptable="true">
- <action id="org.eclipse.m2e.openCiPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openCiPage"
- label="%m2.popup.OpenUrlAction.openCiPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenu/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.classpathMenu.openScmPage"
- objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
- adaptable="true">
- <action id="org.eclipse.m2e.openScmPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openScmPage"
- label="%m2.popup.OpenUrlAction.openScmPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenu/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.classpathMenu.openIssuesPage"
- objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
- adaptable="true">
- <action id="org.eclipse.m2e.openIssuesPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openIssuesPage"
- label="%m2.popup.OpenUrlAction.openIssuesPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenu/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.classpathMenu.openProjectPage"
- objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
- adaptable="true">
- <action id="org.eclipse.m2e.openProjectPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openProjectPage"
- label="%m2.popup.OpenUrlAction.openProjectPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenu/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
<objectContribution id="org.eclipse.m2e.classpathMenu.openPomAction"
objectClass="org.eclipse.jdt.core.IPackageFragmentRoot"
@@ -308,59 +255,6 @@
<test property="org.eclipse.m2e.hasArtifactKey"/>
</enablement>
</objectContribution>
-
- <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openCiPage"
- objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
- adaptable="true">
- <action id="org.eclipse.m2e.openCiPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openCiPage"
- label="%m2.popup.OpenUrlAction.openCiPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openScmPage"
- objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
- adaptable="true">
- <action id="org.eclipse.m2e.openScmPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openScmPage"
- label="%m2.popup.OpenUrlAction.openScmPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openIssuesPage"
- objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
- adaptable="true">
- <action id="org.eclipse.m2e.openIssuesPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openIssuesPage"
- label="%m2.popup.OpenUrlAction.openIssuesPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
- <objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openProjectPage"
- objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"
- adaptable="true">
- <action id="org.eclipse.m2e.openProjectPage"
- class="org.eclipse.m2e.core.ui.internal.actions.OpenUrlAction:org.eclipse.m2e.openProjectPage"
- label="%m2.popup.OpenUrlAction.openProjectPage"
- style="push"
- menubarPath="org.eclipse.m2e.classpathMenuWrapper/open"
- enablesFor="+"/>
- <enablement>
- <test property="org.eclipse.m2e.hasArtifactKey"/>
- </enablement>
- </objectContribution>
<objectContribution id="org.eclipse.m2e.classpathMenuWrapper.openPomAction"
objectClass="org.eclipse.jdt.internal.ui.packageview.ClassPathContainer$RequiredProjectWrapper"

Back to the top