Merged refactoring from development branch.
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / ui / selection / EditFromSelectionWizard.java
similarity index 80%
rename from taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/forms/selection/EditFromSelectionWizard.java
rename to taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/ui/selection/EditFromSelectionWizard.java
index 69279a821b42042068aad6de2cf67873052986f5..1cb6eefbd11bfc3b94648048109747e612fc671c 100644 (file)
@@ -8,7 +8,7 @@
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
 
-package eu.etaxonomy.taxeditor.forms.selection;
+package eu.etaxonomy.taxeditor.ui.selection;
 
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.jface.wizard.IWizardPage;
@@ -28,19 +28,19 @@ import eu.etaxonomy.cdm.model.name.NonViralName;
 import eu.etaxonomy.cdm.model.occurrence.Collection;
 import eu.etaxonomy.cdm.model.occurrence.DerivedUnitBase;
 import eu.etaxonomy.cdm.model.reference.Reference;
-import eu.etaxonomy.taxeditor.editor.EditorUtil;
-import eu.etaxonomy.taxeditor.forms.CdmFormFactory;
 import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
-import eu.etaxonomy.taxeditor.section.agent.InstitutionWizardPage;
-import eu.etaxonomy.taxeditor.section.agent.PersonWizardPage;
-import eu.etaxonomy.taxeditor.section.agent.TeamWizardPage;
-import eu.etaxonomy.taxeditor.section.name.NonViralNameWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.CollectionWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.DerivedUnitBaseWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.FieldObservationWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.GatheringEventWizardPage;
-import eu.etaxonomy.taxeditor.section.occurrence.GeneralWizardPage;
-import eu.etaxonomy.taxeditor.section.reference.ReferenceWizardPage;
+import eu.etaxonomy.taxeditor.store.StoreUtil;
+import eu.etaxonomy.taxeditor.ui.forms.CdmFormFactory;
+import eu.etaxonomy.taxeditor.ui.section.agent.InstitutionWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.agent.PersonWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.agent.TeamWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.name.NonViralNameWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.CollectionWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.DerivedUnitBaseWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.FieldObservationWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.GatheringEventWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.occurrence.GeneralWizardPage;
+import eu.etaxonomy.taxeditor.ui.section.reference.ReferenceWizardPage;
 
 /**
  * <p>EditFromSelectionWizard class.</p>
@@ -56,7 +56,7 @@ public class EditFromSelectionWizard extends Wizard implements SelectionListener
        /**
         * <p>Constructor for EditFromSelectionWizard.</p>
         *
-        * @param selectionElement a {@link eu.etaxonomy.taxeditor.forms.selection.AbstractSelectionElement} object.
+        * @param selectionElement a {@link eu.etaxonomy.taxeditor.ui.selection.AbstractSelectionElement} object.
         */
        public EditFromSelectionWizard(AbstractSelectionElement selectionElement){
                this.selectionElement = selectionElement;               
@@ -107,7 +107,7 @@ public class EditFromSelectionWizard extends Wizard implements SelectionListener
                        addPage(new InstitutionWizardPage(formFactory, selectionElement.getConversationHolder(), (Institution) entity));
                }
                else{
-                       EditorUtil.warningDialog("Missing interface", this, "No detail element for current selection");
+                       StoreUtil.warningDialog("Missing interface", this, "No detail element for current selection");
                }
                
        }