logger.warn("Unable to perform copy on server in project '"
+ refactorController.getRefactorModel().getProject().getName()
+ "' - project is not online enabled");
Utils.openInfo("Offline Mode", "Project is currently offline. Resource will not be copied to server.");
setSuccess(false);
return new NullChange();
}
try {
refactorController.finish(new SubProgressMonitor(monitor, 3));
setSuccess(true);
} catch (Exception e) {
logger.error("Unable to copy resource", e);
setSuccess(false);
// commented out because if copy fails once, the extension is disabled for the entire session
//ExceptionUtils.throwNewCoreException(e);
}
// no undo change at this time
return new NullChange();
}