コード例 #1
0
 /**
  * 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);
 }
コード例 #4
0
 /**
  * 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$
 }