IContainer parentContainer = (IContainer) _parentResource;
IFolder existingModelFolder = parentContainer.getFolder(new Path(_modelName + ".eomodeld"));
if (existingModelFolder.exists()) {
failures.add(new EOModelVerificationFailure(null, "There's already a model in " + existingModelFolder.getLocation().toOSString() + ".", true, null));
EOModelErrorDialog errors = new EOModelErrorDialog(Display.getDefault().getActiveShell(), failures);
errors.open();
return;
}
boolean createModelGroup = false;
EOModelGroup modelGroup = new EOModelGroup();