Project

General

Profile

« Previous | Next » 

Revision 0ceed233

Added by Andreas Müller almost 8 years ago

Revert some changes to allow compilation. Needs to be fixed ASAP

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTeamWizard.java
24 24
 */
25 25
public class NewTeamWizard extends AbstractNewEntityWizard<Team> {
26 26

  
27
	
28
	public NewTeamWizard() {}
29
		
30
	public NewTeamWizard(boolean b) {
31
		//FIXME somethings needs to be done here
32
	}
33

  
27 34
	/** {@inheritDoc} */
28 35
	@Override
29 36
	public void addPages() {
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java
124 124
		}
125 125
		if(clazz.equals(NamedArea.class)){
126 126
		    if(parentElement instanceof DistributionDetailElement){
127
                return (T) NamedAreaSelectionForDistributionDialog.select(shell, conversation, (NamedArea) currentSelection, CdmStore.getTermManager().getPreferredVocabulary(TermType.NamedArea));
128
            }else if(parentElement instanceof IEntityElement && ((IEntityElement) parentElement).getEntity() instanceof DerivedUnitFacade){
127
//                return (T) NamedAreaSelectionForDistributionDialog.select(shell, conversation, (NamedArea) currentSelection, CdmStore.getTermManager().getPreferredVocabulary(TermType.NamedArea));
128
                return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, Country.uuidCountryVocabulary);
129
		    }else if(parentElement instanceof IEntityElement && ((IEntityElement) parentElement).getEntity() instanceof DerivedUnitFacade){
129 130
		        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, Country.uuidCountryVocabulary);
130 131
		    }
131 132
		    else{

Also available in: Unified diff