blob: ec53a3c03cfd5db2ed5f5f10a9d10e5144ddeb1e (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
* yyyymmdd bug Email and other contact information
* -------- -------- -----------------------------------------------------------
*******************************************************************************/
package org.eclipse.wst.command.internal.env.ui.dialog;
import org.eclipse.core.runtime.IPath;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.dialogs.WizardResourceImportPage;
import org.eclipse.wst.command.internal.env.ui.EnvironmentUIMessages;
public class AntFileImportWizardPage extends WizardResourceImportPage{
public AntFileImportWizardPage(String pageName,
IStructuredSelection selection) {
super("WSAntFilesPage1", selection);//$NON-NLS-1$
setTitle(pageName);
setDescription(EnvironmentUIMessages.WIZARD_PAGE_DESC_ANT);
}
protected ITreeContentProvider getFileProvider() {
return null;
}
public IPath getPath()
{
return getContainerFullPath();
}
protected void createSourceGroup(Composite parent) {
//don't need source group
}
protected ITreeContentProvider getFolderProvider() {
return null;
}
protected void createOptionsGroup(Composite parent) {
//empty - don't want an options group
}
}
|