blob: c892dae8a4c5986a0f551401a6df9e9b9a3d2ce6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2009 Tasktop Technologies and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Tasktop Technologies - initial API and implementation
* Eugene Kuleshov - improvements
*******************************************************************************/
package org.eclipse.mylyn.internal.tasks.ui.wizards;
import org.eclipse.mylyn.internal.tasks.core.ITaskRepositoryFilter;
import org.eclipse.mylyn.tasks.core.ITaskMapping;
import org.eclipse.ui.INewWizard;
/**
* @author Mik Kersten
* @author Eugene Kuleshov
* @author Steffen Pingel
*/
public class NewTaskWizardInternal extends MultiRepositoryAwareWizard implements INewWizard {
public NewTaskWizardInternal(ITaskMapping taskSelection) {
super(new NewTaskPage(ITaskRepositoryFilter.CAN_CREATE_NEW_TASK, taskSelection),
Messages.NewTaskWizard_New_Task);
setNeedsProgressMonitor(true);
}
/**
* Constructs a new task wizard with an empty selection. This constructor is used by the
* <code>org.eclipse.ui.newWizards</code> extension.
*/
public NewTaskWizardInternal() {
this(null);
}
}