Revision 72614023
Added by Patrick Plitzner almost 6 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/e4/handler/ConvertPerson2TeamHandlerE4.java | ||
---|---|---|
54 | 54 |
} |
55 | 55 |
} |
56 | 56 |
|
57 |
|
|
58 |
Person person = (Person) selection; |
|
57 | 59 |
Team team =null; |
58 | 60 |
UpdateResult result = null; |
59 | 61 |
try { |
... | ... | |
65 | 67 |
} |
66 | 68 |
if (result != null &&result.isOk()){ |
67 | 69 |
team = (Team)result.getCdmEntity(); |
68 |
} |
|
69 |
if (team != null){ |
|
70 |
editor.refresh(); |
|
70 |
editor.getEditorInput().getModel().remove(person); |
|
71 |
editor.getEditorInput().getModel().add(team); |
|
71 | 72 |
} |
72 | 73 |
} |
73 | 74 |
|
Also available in: Unified diff
ref #7439 Fix visual update when converting team <> person