| org.eclipse.ui.wizards.datatransfer.WizardExternalProjectImportPage
WizardExternalProjectImportPage | public class WizardExternalProjectImportPage extends WizardPage (Code) | | Standard main page for a wizard that creates a project resource from
whose location already contains a project.
This page may be used by clients as-is; it may be also be subclassed to suit.
Example usage:
mainPage = new WizardExternalProjectImportPage("basicNewProjectPage");
mainPage.setTitle("Project");
mainPage.setDescription("Create a new project resource.");
|
Method Summary | |
public void | createControl(Composite parent) (non-Javadoc)
Method declared on IDialogPage. | IProject | createExistingProject() Creates a new project resource with the selected name. | public IPath | getLocationPath() Returns the current project location path as entered by
the user, or its anticipated initial value. | public IProject | getProjectHandle() Creates a project resource handle for the current project name field value. | public String | getProjectName() Returns the current project name as entered by the user, or its anticipated
initial value. | public void | setVisible(boolean visible) |
WizardExternalProjectImportPage | public WizardExternalProjectImportPage()(Code) | | Creates a new project creation wizard page.
|
createControl | public void createControl(Composite parent)(Code) | | (non-Javadoc)
Method declared on IDialogPage.
|
createExistingProject | IProject createExistingProject()(Code) | | Creates a new project resource with the selected name.
In normal usage, this method is invoked after the user has pressed Finish on
the wizard; the enablement of the Finish button implies that all controls
on the pages currently contain valid values.
the created project resource, or null if the projectwas not created |
getLocationPath | public IPath getLocationPath()(Code) | | Returns the current project location path as entered by
the user, or its anticipated initial value.
the project location path, its anticipated initial value, or null if no project location path is known |
getProjectHandle | public IProject getProjectHandle()(Code) | | Creates a project resource handle for the current project name field value.
This method does not create the project resource; this is the responsibility
of IProject::create invoked by the new project resource wizard.
the new project resource handle |
getProjectName | public String getProjectName()(Code) | | Returns the current project name as entered by the user, or its anticipated
initial value.
the project name, its anticipated initial value, or null if no project name is known |
setVisible | public void setVisible(boolean visible)(Code) | | |
|
|