Esempio n. 1
0
 /**
  * Creates a new RepeatCaptureAction instance.
  *
  * @param aController the controller to use for this action.
  */
 public RepeatCaptureAction(final ClientController aController) {
   super(
       ID,
       aController,
       ICON_RECAPTURE_DATA,
       "Repeat capture",
       "Repeat capture with current device settings");
   putValue(ACCELERATOR_KEY, SwingComponentUtils.createMenuKeyMask(KeyEvent.VK_R));
   putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_R));
 }
Esempio n. 2
0
 /**
  * Creates a new NewProjectAction instance.
  *
  * @param aController the client controller to use.
  */
 public NewProjectAction(final ClientController aController) {
   super(ID, aController, "New project ...", "Create a new project");
   putValue(ACCELERATOR_KEY, SwingComponentUtils.createMenuKeyMask(KeyEvent.VK_N));
   putValue(MNEMONIC_KEY, Integer.valueOf(KeyEvent.VK_N));
 }