Project

General

Profile

« Previous | Next » 

Revision bd122e26

Added by Katja Luther over 1 year ago

rename TaxonNameEditor to TaxonEditor and NameViewerE4 to NameViewer

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/e4/handler/DeleteConceptRelationHandlerE4.java
26 26
import org.eclipse.jface.viewers.IStructuredSelection;
27 27

  
28 28
import eu.etaxonomy.cdm.model.taxon.TaxonRelationship;
29
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonNameEditor;
29
import eu.etaxonomy.taxeditor.editor.name.e4.TaxonEditor;
30 30
import eu.etaxonomy.taxeditor.editor.view.concept.e4.ConceptViewPartE4;
31 31
import eu.etaxonomy.taxeditor.editor.view.concept.operation.DeleteConceptRelationOperation;
32 32
import eu.etaxonomy.taxeditor.model.AbstractUtility;
......
47 47
            MMenuItem menuItem,
48 48
            UISynchronize sync) {
49 49

  
50
        TaxonNameEditor editor = null;
50
        TaxonEditor editor = null;
51 51

  
52 52
        ConceptViewPartE4 conceptView = (ConceptViewPartE4) activePart.getObject();
53 53

  
54 54
        Object e4WrappedPart = WorkbenchUtility.getE4WrappedPart(conceptView.getSelectionProvidingPart());
55
        if(e4WrappedPart instanceof TaxonNameEditor){
56
            editor = (TaxonNameEditor) e4WrappedPart;
55
        if(e4WrappedPart instanceof TaxonEditor){
56
            editor = (TaxonEditor) e4WrappedPart;
57 57

  
58 58
            Set<TaxonRelationship> relations = new HashSet<TaxonRelationship>();
59 59

  

Also available in: Unified diff