diff options
author | Lucas Bullen | 2018-08-24 14:43:33 +0000 |
---|---|---|
committer | Lucas Bullen | 2018-08-24 16:16:52 +0000 |
commit | d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8 (patch) | |
tree | febb57e2056b2e8bb90ffa6f8ade239cc1d02888 | |
parent | 8e88a7750afd7970304adb66ceb736a6f3d24afe (diff) | |
download | eclipse.platform.text-d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8.tar.gz eclipse.platform.text-d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8.tar.xz eclipse.platform.text-d4e3bb841f2f73b3b4c6439b3b29ce5418915bf8.zip |
[Generic Editor] Create Source sub popup menuI20180828-2000I20180828-0800I20180827-2000I20180827-0800I20180826-2000I20180825-1500I20180824-2000
- 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.properties | 3 | ||||
-rw-r--r-- | org.eclipse.ui.genericeditor/plugin.xml | 12 |
2 files changed, 14 insertions, 1 deletions
diff --git a/org.eclipse.ui.genericeditor/plugin.properties b/org.eclipse.ui.genericeditor/plugin.properties index 48953f9e772..f3a9ac9dfea 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 938663e7438..c26db6af160 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"> |