Revision 0a72efb6
Added by Cherian Mathew almost 9 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/key/polytomous/PolytomousKeyViewPart.java | ||
---|---|---|
34 | 34 |
import org.eclipse.ui.part.ViewPart; |
35 | 35 |
|
36 | 36 |
import eu.etaxonomy.cdm.api.application.CdmChangeEvent; |
37 |
import eu.etaxonomy.cdm.api.application.CdmChangeEvent.Action; |
|
37 | 38 |
import eu.etaxonomy.cdm.api.conversation.ConversationHolder; |
38 | 39 |
import eu.etaxonomy.cdm.api.conversation.IConversationEnabled; |
39 | 40 |
import eu.etaxonomy.cdm.api.service.IPolytomousKeyService; |
... | ... | |
309 | 310 |
*/ |
310 | 311 |
@Override |
311 | 312 |
public void onChange(CdmChangeEvent event) { |
312 |
// TODO Auto-generated method stub |
|
313 |
if(event.getSourceType().equals(PolytomousKeyViewPart.class) && event.getAction() == Action.Delete) { |
|
314 |
viewer.refresh(); |
|
315 |
} |
|
313 | 316 |
|
314 | 317 |
} |
315 | 318 |
|
Also available in: Unified diff
#5009 Update plugin to use remoting handlers