Merged refactoring from development branch.
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / newWizard / NewInstitutionWizard.java
similarity index 89%
rename from taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/editor/newWizard/NewInstitutionWizard.java
rename to taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/newWizard/NewInstitutionWizard.java
index 81139944ead46d23c50736ea4e524a02ca90f773..50e1117d35239199953000d78c69e8799ef592df 100644 (file)
@@ -8,12 +8,12 @@
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
 
-package eu.etaxonomy.taxeditor.editor.newWizard;
+package eu.etaxonomy.taxeditor.newWizard;
 
 import eu.etaxonomy.cdm.api.service.IAgentService;
 import eu.etaxonomy.cdm.model.agent.Institution;
-import eu.etaxonomy.taxeditor.section.agent.InstitutionWizardPage;
 import eu.etaxonomy.taxeditor.store.CdmStore;
+import eu.etaxonomy.taxeditor.ui.section.agent.InstitutionWizardPage;
 
 /**
  * @author n.hoffmann
@@ -27,7 +27,7 @@ public class NewInstitutionWizard extends AbstractNewEntityWizard<Institution> {
         */
        @Override
        public void addPages() {
-               addPage(new InstitutionWizardPage(formFactory, getConversationHolder(), entity));
+               addPage(new InstitutionWizardPage(formFactory, getConversationHolder(), getEntity()));
        }
        
        /* (non-Javadoc)