public PasswordChangeOperation(
     IKarafServerDelegateWorkingCopy copy, String newPassword, String label) {
   super(label);
   this.copy = copy;
   oldPassword = copy.getPassword();
   this.newPassword = newPassword;
 }
 @Override
 public IStatus undo(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
   copy.setPassword(oldPassword);
   return Status.OK_STATUS;
 }
 @Override
 public IStatus execute(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
   // DO nothing on the execute, since the editor may not be saved yet
   copy.setPassword(newPassword);
   return Status.OK_STATUS;
 }