Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.ui.genericeditor')
-rw-r--r--org.eclipse.ui.genericeditor/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.ui.genericeditor/plugin.xml27
2 files changed, 28 insertions, 2 deletions
diff --git a/org.eclipse.ui.genericeditor/META-INF/MANIFEST.MF b/org.eclipse.ui.genericeditor/META-INF/MANIFEST.MF
index 511fd8f13..625eeb982 100644
--- a/org.eclipse.ui.genericeditor/META-INF/MANIFEST.MF
+++ b/org.eclipse.ui.genericeditor/META-INF/MANIFEST.MF
@@ -13,7 +13,8 @@ Require-Bundle: org.eclipse.ui.workbench.texteditor;bundle-version="3.10.0",
org.eclipse.ui.workbench;bundle-version="3.109.0",
org.eclipse.jface;bundle-version="3.12.0",
org.eclipse.ui.ide;bundle-version="3.12.0",
- org.eclipse.core.resources;bundle-version="3.11.0"
+ org.eclipse.core.resources;bundle-version="3.11.0",
+ org.eclipse.core.expressions;bundle-version="3.6.0"
Export-Package: org.eclipse.ui.internal.genericeditor;x-internal:=true,
org.eclipse.ui.internal.genericeditor.hover;x-internal:=true,
org.eclipse.ui.internal.genericeditor.markers;x-internal:=true
diff --git a/org.eclipse.ui.genericeditor/plugin.xml b/org.eclipse.ui.genericeditor/plugin.xml
index 9b966636c..f2c4b4af6 100644
--- a/org.eclipse.ui.genericeditor/plugin.xml
+++ b/org.eclipse.ui.genericeditor/plugin.xml
@@ -86,11 +86,24 @@
</menuContribution>
<menuContribution
allPopups="false"
- locationURI="toolbar:org.eclipse.ui.genericeditor.GenericEditor">
+ locationURI="toolbar:org.eclipse.ui.edit.text.actionSet.presentation?after=additions">
+ <separator
+ name="Presentation"
+ visible="false">
+ </separator>
+ </menuContribution>
+ <menuContribution
+ allPopups="false"
+ locationURI="toolbar:org.eclipse.ui.edit.text.actionSet.presentation?before=Presentation">
<command
commandId="org.eclipse.ui.genericeditor.togglehighlight"
label="%command.toggle.highlight.label"
style="toggle">
+ <visibleWhen>
+ <reference
+ definitionId="org.eclipse.ui.genericeditor.GenericEditor.active">
+ </reference>
+ </visibleWhen>
</command>
</menuContribution>
</extension>
@@ -173,4 +186,16 @@
</part>
</actionSetPartAssociation>
</extension>
+ <extension
+ point="org.eclipse.core.expressions.definitions">
+ <definition
+ id="org.eclipse.ui.genericeditor.GenericEditor.active">
+ <with
+ variable="activeEditorId">
+ <equals
+ value="org.eclipse.ui.genericeditor.GenericEditor">
+ </equals>
+ </with>
+ </definition>
+ </extension>
</plugin>

Back to the top