diff options
Diffstat (limited to 'org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanWizardDialog.java')
-rw-r--r-- | org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanWizardDialog.java | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanWizardDialog.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanWizardDialog.java new file mode 100644 index 0000000000..2f112586d8 --- /dev/null +++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clean/CleanWizardDialog.java @@ -0,0 +1,32 @@ +/******************************************************************************* + * Copyright (C) 2012, Markus Duft <markus.duft@salomon.at> + * + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + *******************************************************************************/ + +package org.eclipse.egit.ui.internal.clean; + +import org.eclipse.jface.wizard.WizardDialog; +import org.eclipse.jgit.lib.Repository; +import org.eclipse.swt.widgets.Shell; + +/** + * A Wizard that guides the user through cleaning the repository. + */ +public class CleanWizardDialog extends WizardDialog { + + /** + * Creates a new Clean Wizard instance + * + * @param parentShell + * parent shell + * @param repository + */ + public CleanWizardDialog(Shell parentShell, Repository repository) { + super(parentShell, new CleanWizard(repository)); + } + +} |