Exemplo n.º 1
0
 /**
  * Throws an exception if it should ever be called.
  *
  * @exception UnsupportedOperationException always.
  */
 public void redo() {
   throw new UnsupportedOperationException(
       CommonPlugin.INSTANCE.getString(
           "_EXC_Method_not_implemented", new String[] {this.getClass().getName() + ".redo()"}));
 }
Exemplo n.º 2
0
 @Override
 public String getDescription() {
   return description == null
       ? CommonPlugin.INSTANCE.getString("_UI_IdentityCommand_description")
       : description;
 }
Exemplo n.º 3
0
 /** Only one private instance is created. */
 private UnexecutableCommand() {
   super(
       CommonPlugin.INSTANCE.getString("_UI_UnexecutableCommand_label"),
       CommonPlugin.INSTANCE.getString("_UI_UnexecutableCommand_description"));
 }
Exemplo n.º 4
0
 @Override
 public String getLabel() {
   return label == null ? CommonPlugin.INSTANCE.getString("_UI_IdentityCommand_label") : label;
 }