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
bonita
bonita-studio
Commits
4a572da1
Commit
4a572da1
authored
Jul 24, 2014
by
Romain Bioteau
Browse files
Fix TestDuplicate
parent
dc645c9f
Changes
1
Hide whitespace changes
Inline
Side-by-side
bundles/plugins/org.bonitasoft.studio.diagram.custom/src/org/bonitasoft/studio/diagram/custom/operation/DuplicateDiagramOperation.java
View file @
4a572da1
...
...
@@ -105,8 +105,9 @@ public class DuplicateDiagramOperation implements IRunnableWithProgress {
final
TransactionalEditingDomain
editingDomain
=
TransactionUtil
.
getEditingDomain
(
newDiagram
);
for
(
final
ProcessesNameVersion
pnv
:
pools
)
{
final
String
fromPoolName
=
pnv
.
getNewName
();
final
String
fromPoolVersion
=
pnv
.
getNewVersion
();
final
AbstractProcess
fromPool
=
pnv
.
getAbstractProcess
();
final
String
fromPoolName
=
fromPool
.
getName
();
final
String
fromPoolVersion
=
fromPool
.
getVersion
();
/* Find corresponding element in the duplicated model */
for
(
final
Element
element
:
newDiagram
.
getElements
())
{
if
(
element
instanceof
AbstractProcess
)
{
...
...
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