Esempio n. 1
0
 /** Creates a new instance. */
 public LoadAction(Application app) {
   super(app);
   ResourceBundleUtil labels = ResourceBundleUtil.getLAFBundle("org.jhotdraw.app.Labels");
   labels.configureAction(this, "open");
 }
Esempio n. 2
0
 /** Creates a new instance. */
 public SaveAsAction(Application app) {
   super(app, true);
   ResourceBundleUtil labels = ResourceBundleUtil.getLAFBundle("org.jhotdraw.app.Labels");
   labels.configureAction(this, ID);
 }
 /** Creates a new instance. */
 public DuplicateAction() {
   ResourceBundleUtil labels = ResourceBundleUtil.getBundle("org.jhotdraw.app.Labels");
   labels.configureAction(this, ID);
 }
 /**
  * Creates a new instance which acts on the specified component.
  *
  * @param target The target of the action. Specify null for the currently focused component.
  */
 public ClearSelectionAction(@Nullable JComponent target) {
   super(target);
   ResourceBundleUtil labels = ResourceBundleUtil.getBundle("org.jhotdraw.app.Labels");
   labels.configureAction(this, ID);
 }