summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-04-18 13:43:22 (EDT)
committer Curtis Windatt2013-04-18 13:43:22 (EDT)
commita454bc855262411f03b87f84e46736075182f5a3 (patch)
tree09bf3c3893f1a36a3fde58f491960ce45075b239
parentfc3ff6920c6c590e00b5b8dc110c1eed17a9564a (diff)
downloadeclipse.pde.ui-a454bc855262411f03b87f84e46736075182f5a3.zip
eclipse.pde.ui-a454bc855262411f03b87f84e46736075182f5a3.tar.gz
eclipse.pde.ui-a454bc855262411f03b87f84e46736075182f5a3.tar.bz2
Bug 406014 - Change keybindings in RCP Mail template
-rw-r--r--ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/MailTemplate.java22
1 files changed, 8 insertions, 14 deletions
diff --git a/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/MailTemplate.java b/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/MailTemplate.java
index 1cb0b39..2ddfddb 100644
--- a/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/MailTemplate.java
+++ b/ui/org.eclipse.pde.ui.templates/src/org/eclipse/pde/internal/ui/templates/rcp/MailTemplate.java
@@ -14,14 +14,8 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.pde.core.plugin.IPluginBase;
-import org.eclipse.pde.core.plugin.IPluginElement;
-import org.eclipse.pde.core.plugin.IPluginExtension;
-import org.eclipse.pde.core.plugin.IPluginModelBase;
-import org.eclipse.pde.core.plugin.IPluginReference;
-import org.eclipse.pde.internal.ui.templates.IHelpContextIds;
-import org.eclipse.pde.internal.ui.templates.PDETemplateMessages;
-import org.eclipse.pde.internal.ui.templates.PDETemplateSection;
+import org.eclipse.pde.core.plugin.*;
+import org.eclipse.pde.internal.ui.templates.*;
import org.eclipse.pde.ui.IFieldData;
import org.eclipse.pde.ui.templates.PluginReference;
@@ -187,21 +181,21 @@ public class MailTemplate extends PDETemplateSection {
element = model.getPluginFactory().createElement(extension);
element.setName("keyBinding"); //$NON-NLS-1$
element.setAttribute("commandId", id + ".open"); //$NON-NLS-1$ //$NON-NLS-2$
- element.setAttribute("keySequence", "CTRL+2"); //$NON-NLS-1$ //$NON-NLS-2$
+ element.setAttribute("keySequence", "CTRL+O"); //$NON-NLS-1$ //$NON-NLS-2$
element.setAttribute("keyConfigurationId", "org.eclipse.ui.defaultAcceleratorConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
extension.add(element);
element = model.getPluginFactory().createElement(extension);
element.setName("keyBinding"); //$NON-NLS-1$
element.setAttribute("commandId", id + ".openMessage"); //$NON-NLS-1$ //$NON-NLS-2$
- element.setAttribute("keySequence", "CTRL+3"); //$NON-NLS-1$ //$NON-NLS-2$
+ element.setAttribute("keySequence", "CTRL+M"); //$NON-NLS-1$ //$NON-NLS-2$
element.setAttribute("keyConfigurationId", "org.eclipse.ui.defaultAcceleratorConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
extension.add(element);
element = model.getPluginFactory().createElement(extension);
element.setName("keyBinding"); //$NON-NLS-1$
element.setAttribute("commandId", "org.eclipse.ui.file.exit"); //$NON-NLS-1$ //$NON-NLS-2$
- element.setAttribute("keySequence", "CTRL+Q"); //$NON-NLS-1$ //$NON-NLS-2$
+ element.setAttribute("keySequence", "CTRL+SHIFT+Q"); //$NON-NLS-1$ //$NON-NLS-2$
element.setAttribute("keyConfigurationId", "org.eclipse.ui.defaultAcceleratorConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
extension.add(element);
}
@@ -218,21 +212,21 @@ public class MailTemplate extends PDETemplateSection {
IPluginElement element = model.getPluginFactory().createElement(extension);
element.setName("key"); //$NON-NLS-1$
element.setAttribute("commandId", id + ".open"); //$NON-NLS-1$ //$NON-NLS-2$
- element.setAttribute("sequence", "CTRL+2"); //$NON-NLS-1$ //$NON-NLS-2$
+ element.setAttribute("sequence", "CTRL+O"); //$NON-NLS-1$ //$NON-NLS-2$
element.setAttribute("schemeId", "org.eclipse.ui.defaultAcceleratorConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
extension.add(element);
element = model.getPluginFactory().createElement(extension);
element.setName("key"); //$NON-NLS-1$
element.setAttribute("commandId", id + ".openMessage"); //$NON-NLS-1$ //$NON-NLS-2$
- element.setAttribute("sequence", "CTRL+3"); //$NON-NLS-1$ //$NON-NLS-2$
+ element.setAttribute("sequence", "CTRL+M"); //$NON-NLS-1$ //$NON-NLS-2$
element.setAttribute("schemeId", "org.eclipse.ui.defaultAcceleratorConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
extension.add(element);
element = model.getPluginFactory().createElement(extension);
element.setName("key"); //$NON-NLS-1$
element.setAttribute("commandId", "org.eclipse.ui.file.exit"); //$NON-NLS-1$ //$NON-NLS-2$
- element.setAttribute("sequence", "CTRL+X"); //$NON-NLS-1$ //$NON-NLS-2$
+ element.setAttribute("sequence", "CTRL+SHIFT+Q"); //$NON-NLS-1$ //$NON-NLS-2$
element.setAttribute("schemeId", "org.eclipse.ui.defaultAcceleratorConfiguration"); //$NON-NLS-1$ //$NON-NLS-2$
extension.add(element);