* See LICENSE.TXT at the top of this package for the full license terms.
*/
-package eu.etaxonomy.taxeditor.navigation.handler;
+package eu.etaxonomy.taxeditor.navigation.navigator.handler;
-import org.apache.log4j.Logger;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.jface.wizard.WizardDialog;
import org.eclipse.ui.handlers.HandlerUtil;
-import eu.etaxonomy.taxeditor.wizard.ClassificationWizard;
+import eu.etaxonomy.taxeditor.newWizard.NewClassificationWizard;
/**
* <p>NewClassificationHandler class.</p>
*/
public class NewClassificationHandler extends AbstractHandler implements
IHandler {
- private static final Logger logger = Logger
- .getLogger(NewClassificationHandler.class);
/* (non-Javadoc)
* @see org.eclipse.core.commands.IHandler#execute(org.eclipse.core.commands.ExecutionEvent)
*/
/** {@inheritDoc} */
public Object execute(ExecutionEvent event) throws ExecutionException {
-
- WizardDialog dialog = new WizardDialog(HandlerUtil.getActiveShell(event), new ClassificationWizard());
+ NewClassificationWizard wizard = new NewClassificationWizard();
+ wizard.init(null, null);
+ WizardDialog dialog = new WizardDialog(HandlerUtil.getActiveShell(event), wizard);
dialog.open();
return null;