public class WizardExternalProjectImportPage extends WizardPage
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.");
ERROR, INFORMATION, NONE, WARNING| Constructor and Description |
|---|
WizardExternalProjectImportPage()
Creates a new project creation wizard page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
createControl(Composite parent)
(non-Javadoc)
Method declared on IDialogPage.
|
IPath |
getLocationPath()
Returns the current project location path as entered by
the user, or its anticipated initial value.
|
IProject |
getProjectHandle()
Creates a project resource handle for the current project name field value.
|
String |
getProjectName()
Returns the current project name as entered by the user, or its anticipated
initial value.
|
void |
setVisible(boolean visible)
The
DialogPage implementation of this
IDialogPage method sets the control to the given
visibility state. |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelppublic WizardExternalProjectImportPage()
public void createControl(Composite parent)
parent - the parent compositepublic IPath getLocationPath()
null
if no project location path is knownpublic IProject getProjectHandle()
This method does not create the project resource; this is the responsibility
of IProject::create invoked by the new project resource wizard.
public String getProjectName()
null
if no project name is knownpublic void setVisible(boolean visible)
DialogPageDialogPage implementation of this
IDialogPage method sets the control to the given
visibility state. Subclasses may extend.setVisible in interface IDialogPagesetVisible in class DialogPagevisible - true to make this page visible,
and false to hide itGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.