| org.eclipse.jdt.ui.wizards.NewElementWizardPage org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage org.eclipse.jdt.ui.wizards.NewJavaProjectWizardPageTwo
NewJavaProjectWizardPageTwo | public class NewJavaProjectWizardPageTwo extends JavaCapabilityConfigurationPage (Code) | | The second page of the New Java project wizard. It allows to configure the build path and output location.
As addition to the
JavaCapabilityConfigurationPage , the wizard page does an
early project creation (so that linked folders can be defined) and, if an
existing external location was specified, detects the class path.
Clients may instantiate or subclass.
EXPERIMENTAL This class or interface has been added as part
of a work in progress. This API is under review and may still change when finalized. Please send your
comments to bug 160985.
since: 3.4 |
Method Summary | |
protected void | initializeBuildPath(IJavaProject javaProject, IProgressMonitor monitor) Evaluates the new build path and output folder according to the settings on the first page. | public void | performCancel() Called from the wizard on cancel. | public void | performFinish(IProgressMonitor monitor) Called from the wizard on finish. | public void | setVisible(boolean visible) | final protected boolean | useNewSourcePage() |
initializeBuildPath | protected void initializeBuildPath(IJavaProject javaProject, IProgressMonitor monitor) throws CoreException(Code) | | Evaluates the new build path and output folder according to the settings on the first page.
The resulting build path is set by calling
NewJavaProjectWizardPageTwo.init(IJavaProject,IPath,IClasspathEntry[],boolean) .
Clients can override this method.
Parameters: javaProject - the new project which is already created when this method is called. Parameters: monitor - the progress monitor throws: CoreException - thrown when initializing the build path failed |
performCancel | public void performCancel()(Code) | | Called from the wizard on cancel.
|
performFinish | public void performFinish(IProgressMonitor monitor) throws CoreException, InterruptedException(Code) | | Called from the wizard on finish.
Parameters: monitor - the progress monitor throws: CoreException - thrown when the project creation or configuration failed throws: InterruptedException - thrown when the user cancelled the project creation |
setVisible | public void setVisible(boolean visible)(Code) | | |
useNewSourcePage | final protected boolean useNewSourcePage()(Code) | | |
Methods inherited from org.eclipse.jdt.ui.wizards.NewElementWizardPage | public void setVisible(boolean visible)(Code)(Java Doc) protected void updateStatus(IStatus status)(Code)(Java Doc) protected void updateStatus(IStatus[] status)(Code)(Java Doc)
|
|
|