if (element instanceof IContainer) {
IContainer container = (IContainer) element;
try {
_refactoringInformations = RefactoringManager.getAffectedResources(container, getArguments());
} catch (Exception e) {
_refactoringStatus .addEntry(new RefactoringStatusEntry(RefactoringStatus.ERROR,"Unable to gather refactoring information. See error log for details. Essential refactoring operations will be skipped. Workspace structure might get invalid."));
WGADesignerPlugin.getDefault().logError("Unable to gather refactoring information.", e);
}
return !_refactoringInformations.isEmpty();
} else {
return false;