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, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
public 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)
DialogPage
DialogPage
implementation of this
IDialogPage
method sets the control to the given
visibility state. Subclasses may extend.setVisible
in interface IDialogPage
setVisible
in class DialogPage
visible
- true
to make this page visible,
and false
to hide it
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.