Started refactoring user and group functionality
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / account / user / handler / EditUserHandler.java
similarity index 85%
rename from taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/user/handler/EditUserHandler.java
rename to taxeditor-store/src/main/java/eu/etaxonomy/taxeditor/account/user/handler/EditUserHandler.java
index 41e5a86c699fe1c38aa754158cb9bcb31dafe288..4aa87305d182dac2dd9c826496c9fb48964c83d8 100644 (file)
@@ -8,7 +8,7 @@
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
 
-package eu.etaxonomy.taxeditor.user.handler;
+package eu.etaxonomy.taxeditor.account.user.handler;
 
 import org.eclipse.core.commands.AbstractHandler;
 import org.eclipse.core.commands.ExecutionEvent;
@@ -19,8 +19,8 @@ import org.eclipse.jface.wizard.WizardDialog;
 import org.eclipse.ui.handlers.HandlerUtil;
 
 import eu.etaxonomy.cdm.model.common.User;
-import eu.etaxonomy.taxeditor.user.view.UserManagerView;
-import eu.etaxonomy.taxeditor.user.wizard.UserWizard;
+import eu.etaxonomy.taxeditor.account.user.view.UserView;
+import eu.etaxonomy.taxeditor.account.user.wizard.UserWizard;
 
 /**
  * <p>EditUserHandler class.</p>
@@ -39,7 +39,7 @@ public class EditUserHandler extends AbstractHandler {
                ISelection menuSelection = HandlerUtil.getActiveMenuSelection(event);
                User user = (User) ((StructuredSelection) menuSelection).getFirstElement();
 
-               UserManagerView part = (UserManagerView) HandlerUtil.getActivePart(event);
+               UserView part = (UserView) HandlerUtil.getActivePart(event);
                
                UserWizard wizard = new UserWizard(part, user);
                WizardDialog dialog = new WizardDialog(HandlerUtil.getActiveShell(event), wizard);