Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2008-01-22 18:21:23 -0500
committerJeff Johnston2008-01-22 18:21:23 -0500
commit461c0b80aa2fbfe678e76aa551ea431035e4612f (patch)
treef249be4f2e113555b84d86a16b75814bd1e65189 /changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
parent3233b59a9250e83261a24aea17707247b7701fc8 (diff)
downloadorg.eclipse.linuxtools-461c0b80aa2fbfe678e76aa551ea431035e4612f.tar.gz
org.eclipse.linuxtools-461c0b80aa2fbfe678e76aa551ea431035e4612f.tar.xz
org.eclipse.linuxtools-461c0b80aa2fbfe678e76aa551ea431035e4612f.zip
2008-01-22 Jeff Johnston <jjohnstn@redhat.com>
* .classpath: Fix JSRE requirement. * plugin.xml: Add "Prepare ChangeLog in Editor" action and key bindings to allow Ctrl+Alt+P to work in a text editor. * src/org/eclipse/linuxtools/changelog/core/ChangelogPlugin.java (initializeDefaultPreferences): Don't try and translate gnuFormatter or gnuEditorConfig as these are actual names used in the extensions in plugin.xml.
Diffstat (limited to 'changelog/org.eclipse.linuxtools.changelog.core/plugin.xml')
-rw-r--r--changelog/org.eclipse.linuxtools.changelog.core/plugin.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml b/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
index 715e9bcdc4..36654a8d3a 100644
--- a/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
+++ b/changelog/org.eclipse.linuxtools.changelog.core/plugin.xml
@@ -38,6 +38,12 @@
description="Formats ChangeLog"
id="org.eclipse.linuxtools.changelog.core.formatChangeLog"
name="Format ChangeLog"/>
+ <command
+ categoryId="org.eclipse.linuxtools.changelog"
+ description="Prepares ChangeLog in an editor"
+ id="org.eclipse.linuxtools.changelog.core.preparechangelog2"
+ name="Prepare Changelog In Editor">
+ </command>
</extension>
<!-- Actions -->
@@ -73,6 +79,12 @@
</or>
</enablement>
</action>
+ <action
+ class="org.eclipse.linuxtools.changelog.core.actions.PrepareChangelogKeyHandler"
+ definitionId="org.eclipse.linuxtools.changelog.core.preparechangelog2"
+ id="org.eclipse.linuxtools.changelog.core.action.prepChangeLogInEditor"
+ label="Prepare ChangeLog In Editor">
+ </action>
</actionSet>
</extension>
@@ -91,7 +103,7 @@
inFile="false"
class="org.eclipse.linuxtools.changelog.core.formatters.GNUFormat"
id="org.eclipse.linuxtools.changelog.GNUFormat"
- name="%gnuFormatter">
+ name="gnuFormatter">
<fileName name="ChangeLog" />
</formatter>
</extension>
@@ -110,7 +122,7 @@
<editor
class="org.eclipse.linuxtools.changelog.core.editors.GNUEditorConfiguration"
id="org.eclipse.linuxtools.changelog.core.gnueditor"
- name="GNU Editor"/>
+ name="gnuEditorConfig"/>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
@@ -141,6 +153,12 @@
id="org.eclipse.linuxtools.changelog.keyscheme.default"
name="default"/>
<key
+ commandId="org.eclipse.linuxtools.changelog.core.preparechangelog2"
+ contextId="org.eclipse.ui.textEditorScope"
+ schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+ sequence="Ctrl+Alt+P">
+ </key>
+ <key
commandId="org.eclipse.linuxtools.changelog.core.preparechangelog"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"

Back to the top