Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2008-04-24 13:55:47 +0000
committerslewis2008-04-24 13:55:47 +0000
commit8f603e6a82962ca8e95fb0e418646cab441efa52 (patch)
tree89cff3608640c971a656c1cbfc0314052c8861e5 /examples/bundles
parentae3cad832373bf37ab834a13e9db6d5ee1b854ac (diff)
downloadorg.eclipse.ecf-8f603e6a82962ca8e95fb0e418646cab441efa52.tar.gz
org.eclipse.ecf-8f603e6a82962ca8e95fb0e418646cab441efa52.tar.xz
org.eclipse.ecf-8f603e6a82962ca8e95fb0e418646cab441efa52.zip
Added resource and editor sharing menu contributions for StructuredTextEditor to address bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=228582
Diffstat (limited to 'examples/bundles')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/plugin.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/plugin.xml b/examples/bundles/org.eclipse.ecf.example.collab/plugin.xml
index c64e1282e..84f3c73d9 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/plugin.xml
+++ b/examples/bundles/org.eclipse.ecf.example.collab/plugin.xml
@@ -148,7 +148,7 @@
locationURI="popup:#CompilationUnitEditorContext">
<dynamic
class="org.eclipse.ecf.internal.example.collab.EditorCompoundContributionItem"
- id="org.eclipse.ecf.example.collab.dynamic1">
+ id="org.eclipse.ecf.example.collab.compilationuniteditorcontribution">
</dynamic>
</menuContribution>
</extension>
@@ -159,11 +159,23 @@
locationURI="popup:#TextEditorContext">
<dynamic
class="org.eclipse.ecf.internal.example.collab.EditorCompoundContributionItem"
- id="org.eclipse.ecf.example.collab.dynamic2">
+ id="org.eclipse.ecf.example.collab.texteditorcontribution">
</dynamic>
</menuContribution>
</extension>
+ <!-- php editor -->
+ <extension
+ point="org.eclipse.ui.menus">
+ <menuContribution
+ locationURI="popup:org.eclipse.wst.sse.ui.StructuredTextEditor.EditorContext?after=additions">
+ <dynamic
+ class="org.eclipse.ecf.internal.example.collab.EditorCompoundContributionItem"
+ id="org.eclipse.ecf.example.collab.structuredtexteditorcontribution">
+ </dynamic>
+ </menuContribution>
+ </extension>
+
<extension
point="org.eclipse.ui.workbench.texteditor.hyperlinkDetectors">
<hyperlinkDetector

Back to the top