Revert some changes to allow compilation. Needs to be fixed ASAP
authorAndreas Müller <a.mueller@bgbm.org>
Fri, 10 Jun 2016 14:20:23 +0000 (16:20 +0200)
committerAndreas Müller <a.mueller@bgbm.org>
Fri, 10 Jun 2016 14:20:23 +0000 (16:20 +0200)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewTeamWizard.java
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/dialog/selection/SelectionDialogFactory.java

index 74c82db1a9064ed36573da6b2efda2e088190184..5411fd268c714c63dde5af79e7d72d51cc68b63d 100644 (file)
@@ -24,6 +24,13 @@ import eu.etaxonomy.taxeditor.ui.section.agent.TeamWizardPage;
  */
 public class NewTeamWizard extends AbstractNewEntityWizard<Team> {
 
  */
 public class NewTeamWizard extends AbstractNewEntityWizard<Team> {
 
+       
+       public NewTeamWizard() {}
+               
+       public NewTeamWizard(boolean b) {
+               //FIXME somethings needs to be done here
+       }
+
        /** {@inheritDoc} */
        @Override
        public void addPages() {
        /** {@inheritDoc} */
        @Override
        public void addPages() {
index d7d022a5f9ee2c3daef08de933e037bdef983417..7f38851d4e78383ef4898fe6f0058fade0cc3300 100644 (file)
@@ -124,8 +124,9 @@ public class SelectionDialogFactory {
                }
                if(clazz.equals(NamedArea.class)){
                    if(parentElement instanceof DistributionDetailElement){
                }
                if(clazz.equals(NamedArea.class)){
                    if(parentElement instanceof DistributionDetailElement){
-                return (T) NamedAreaSelectionForDistributionDialog.select(shell, conversation, (NamedArea) currentSelection, CdmStore.getTermManager().getPreferredVocabulary(TermType.NamedArea));
-            }else if(parentElement instanceof IEntityElement && ((IEntityElement) parentElement).getEntity() instanceof DerivedUnitFacade){
+//                return (T) NamedAreaSelectionForDistributionDialog.select(shell, conversation, (NamedArea) currentSelection, CdmStore.getTermManager().getPreferredVocabulary(TermType.NamedArea));
+                return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, Country.uuidCountryVocabulary);
+                   }else if(parentElement instanceof IEntityElement && ((IEntityElement) parentElement).getEntity() instanceof DerivedUnitFacade){
                        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, Country.uuidCountryVocabulary);
                    }
                    else{
                        return (T) NamedAreaSelectionDialog.select(shell, conversation, (NamedArea) currentSelection, Country.uuidCountryVocabulary);
                    }
                    else{