Commit 7bfea512 authored by Simon Barner's avatar Simon Barner
Browse files

YELLOW

parent db5ddd82
ComponentArchitectureTransformationMenuBase.java 1469a82f8c1cfdd4e501609a32351b9867eeee9d GREEN
ComponentArchitectureTransformationMenuBase.java 0078fa26e8f604bf05730ab18299ea645558a709 YELLOW
......@@ -127,14 +127,14 @@ public abstract class ComponentArchitectureTransformationMenuBase<A extends IPro
boolean deleteExisting = false;
AllocationTable caAlloc = getFirstChildWithType(fileProject, entityAllocationTableType);
if(caAlloc != null && caAlloc.getSourceView() == ca && caAlloc.getTargetView() != null) {
deleteExisting =
openConfirm(
Display.getCurrent().getActiveShell(),
"Replace " + getGeneratedArchitectureTypeName() + "(s)",
"One or more " +
getGeneratedArchitectureTypeName() +
" already exist for selected Component Architecture. Hit:\n - OK to delete them.\n - Cancel to keep them and create another " +
getGeneratedArchitectureTypeName() + ".");
final String title = "Replace " + getGeneratedArchitectureTypeName() + "(s)";
final String message =
"One or more " +
getGeneratedArchitectureTypeName() +
" already exist for selected Component Architecture. Hit:\n - OK to delete them.\n - Cancel to keep them and create another " +
getGeneratedArchitectureTypeName() + ".";
deleteExisting = openConfirm(Display.getCurrent().getActiveShell(), title, message);
}
return deleteExisting;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment