Project

General

Profile

« Previous | Next » 

Revision 2cbfc2bf

Added by Katja Luther almost 7 years ago

smaller changes in ExportWizard

View differences:

eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/navigator/TaxonNavigator.java
41 41
import eu.etaxonomy.cdm.api.service.IClassificationService;
42 42
import eu.etaxonomy.cdm.model.common.CdmBase;
43 43
import eu.etaxonomy.cdm.model.common.ICdmBase;
44
import eu.etaxonomy.cdm.model.common.ITreeNode;
44 45
import eu.etaxonomy.cdm.model.taxon.Classification;
45 46
import eu.etaxonomy.cdm.model.taxon.TaxonNaturalComparator;
46 47
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
......
111 112
		}
112 113
		TaxonNodeNavigatorComparator viewerComparator = new TaxonNodeNavigatorComparator(comparator);
113 114
		this.getCommonViewer().setComparator(viewerComparator);
115
		//this.getCommonViewer().setAutoExpandLevel(2);
114 116
        setLinkingEnabled(true);
115 117
//		this.getCommonViewer().addSelectionChangedListener(new ISelectionChangedListener() {
116 118
//
......
135 137
			// closing the whole application
136 138
			// should be handled by the state manager too
137 139
		    root = new Root(conversation);
140
		    
138 141
			return root;
139 142
		}
140 143
		return new EmptyRoot();
......
163 166
		    CdmApplicationState.getCurrentDataChangeService().register(this);
164 167
		}
165 168
		CdmStore.getLoginManager().addObserver(this);
169
		
170
		
166 171
	}
167 172

  
168 173
	/**
......
529 534
     * @see eu.etaxonomy.taxeditor.session.ICdmEntitySessionEnabled#getRootEntities()
530 535
     */
531 536
    @Override
532
    public List<Classification> getRootEntities() {
537
    public List<ITreeNode> getRootEntities() {
533 538
        if(root != null) {
534 539
            return root.getParentBeans();
535 540
        }

Also available in: Unified diff