| Summary: | invalid expression variable for "org.eclipse.pde.ui.openPluginArtifact" menu contribution | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Remo Loetscher <remo.loetscher> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | minor | ||
| Priority: | P3 | CC: | curtis.windatt.public, remo.loetscher |
| Version: | 3.6.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
This action was moved to the commands framework. |
Build Identifier: 3.6.1.v20100810_r361 According to the ISources interface the variable for the active perspective should be "activeWorkbenchWindow.activePerspective" not "... .currentPerspective". plugin.xml: [...] <menuContribution locationURI="menu:navigate?after=open.ext2"> [...] <command commandId="org.eclipse.pde.ui.openPluginArtifact" icon="$nl$/icons/obj16/open_artifact_obj.gif" label="%pluginsearch.action.menu.name"> <visibleWhen> <or> <with variable="activeWorkbenchWindow.currentPerspective"> <equals value="org.eclipse.pde.ui.PDEPerspective"> </equals> </with> <with variable="activeContexts"> <iterate operator="or"> <equals value="org.eclipse.pde.ui.SearchActionSet"> </equals> </iterate> </with> </or> </visibleWhen> </command> </menuContribution> [...] Reproducible: Always