Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
af3
AF3
Commits
7bfea512
Commit
7bfea512
authored
Apr 10, 2018
by
Simon Barner
Browse files
YELLOW
parent
db5ddd82
Changes
2
Hide whitespace changes
Inline
Side-by-side
org.fortiss.af3.component.ui/trunk/src/org/fortiss/af3/component/ui/commands/.ratings
View file @
7bfea512
ComponentArchitectureTransformationMenuBase.java
1469a82f8c1cfdd4e501609a32351b9867eeee9d GREEN
ComponentArchitectureTransformationMenuBase.java
0078fa26e8f604bf05730ab18299ea645558a709 YELLOW
org.fortiss.af3.component.ui/trunk/src/org/fortiss/af3/component/ui/commands/ComponentArchitectureTransformationMenuBase.java
View file @
7bfea512
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment