/**
  * Returns the accelerator key for the export action.
  *
  * @return The accelerator key.
  */
 public KeyStroke getAcceleratorKey() {
   return resources.getOptionalKeyStroke("action.close.accelerator"); // $NON-NLS-1$
 }
示例#2
0
 public static KeyStroke getOptionalKeyStroke(final String key) {
   return bundle.getOptionalKeyStroke(key);
 }
示例#3
0
 public static KeyStroke getOptionalKeyStroke(final String key, final int mask) {
   return bundle.getOptionalKeyStroke(key, mask);
 }
 /**
  * Returns the accelerator key for the action associated with the dialog.
  *
  * @return The key stroke.
  */
 public KeyStroke getAcceleratorKey() {
   return resources.getOptionalKeyStroke("action.export-to-excel.accelerator"); // $NON-NLS-1$
 }