Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas Bullen2018-08-24 10:43:33 -0400
committerLucas Bullen2018-08-24 12:16:52 -0400
commitd4e3bb841f2f73b3b4c6439b3b29ce5418915bf8 (patch)
treefebb57e2056b2e8bb90ffa6f8ade239cc1d02888
parent8e88a7750afd7970304adb66ceb736a6f3d24afe (diff)
downloadeclipse.platform.text-d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8.tar.gz
eclipse.platform.text-d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8.tar.xz
eclipse.platform.text-d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8.zip
- Used by extensions of the editor to store source related commands Change-Id: I34005e44734197d174d97f1addc9e372b30eee35 Signed-off-by: Lucas Bullen <lbullen@redhat.com>
-rw-r--r--org.eclipse.ui.genericeditor/plugin.properties3
-rw-r--r--org.eclipse.ui.genericeditor/plugin.xml12
2 files changed, 14 insertions, 1 deletions
diff --git a/org.eclipse.ui.genericeditor/plugin.properties b/org.eclipse.ui.genericeditor/plugin.properties
index 48953f9e7..f3a9ac9df 100644
--- a/org.eclipse.ui.genericeditor/plugin.properties
+++ b/org.eclipse.ui.genericeditor/plugin.properties
@@ -32,4 +32,5 @@ findReferencesCommand_description=Find other code items referencing the current
Bundle-Vendor=Eclipse.org
Bundle-Name=Generic and Extensible Text Editor
command.toggle.highlight.label = Toggle Mark Occurences
-command.toggle.highlight.name = Toggle Highlight \ No newline at end of file
+command.toggle.highlight.name = Toggle Highlight
+menu.source.label = Source \ No newline at end of file
diff --git a/org.eclipse.ui.genericeditor/plugin.xml b/org.eclipse.ui.genericeditor/plugin.xml
index 938663e74..c26db6af1 100644
--- a/org.eclipse.ui.genericeditor/plugin.xml
+++ b/org.eclipse.ui.genericeditor/plugin.xml
@@ -83,6 +83,18 @@
<menuContribution
allPopups="true"
locationURI="popup:#TextEditorContext?after=additions">
+ <menu
+ id="org.eclipse.ui.genericeditor.source.menu"
+ label="%menu.source.label">
+ <command
+ commandId="org.eclipse.ui.edit.text.delete.line"
+ style="push">
+ </command>
+ <command
+ commandId="org.eclipse.ui.edit.text.copyLineDown"
+ style="push">
+ </command>
+ </menu>
<command
commandId="org.eclipse.ui.genericeditor.findReferences"
style="push">

Back to the top