blob: 5d4f0b45bd41065d4646cc4b335a0a9fb32e7d02 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*******************************************************************************
* Copyright (c) 2008-2011 Sonatype, Inc.
* 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
*
* Contributors:
* Sonatype, Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.m2e.refactoring.exclude;
import org.eclipse.ltk.ui.refactoring.RefactoringWizard;
import org.eclipse.m2e.core.project.IMavenProjectFacade;
/**
* @author Anton Kraev
*/
public class MavenExcludeWizard extends RefactoringWizard {
private IMavenProjectFacade facade;
private ExcludeWizardPage excludePage;
public MavenExcludeWizard(ExcludeArtifactRefactoring refactoring, IMavenProjectFacade facade) {
super(refactoring, DIALOG_BASED_USER_INTERFACE);
this.facade = facade;
}
@Override
protected void addUserInputPages() {
setDefaultPageTitle(getRefactoring().getName());
excludePage = new ExcludeWizardPage(facade);
addPage(excludePage);
}
}
|