Class NewJavaProjectWizardPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
Whenever possible clients should use the class JavaCapabilityConfigurationPage
in favor of this class.
Clients may instantiate or subclass.
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
ConstructorsConstructorDescriptionNewJavaProjectWizardPage(org.eclipse.core.resources.IWorkspaceRoot root, org.eclipse.ui.dialogs.WizardNewProjectCreationPage mainpage) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateControl(org.eclipse.swt.widgets.Composite parent) Deprecated.voiddispose()Deprecated.protected org.eclipse.core.runtime.IPathDeprecated.Deprecated.org.eclipse.core.runtime.IPathDeprecated.protected org.eclipse.core.resources.IProjectDeprecated.Deprecated.org.eclipse.jface.operation.IRunnableWithProgressDeprecated.protected voidDeprecated.voidsetDefaultClassPath(IClasspathEntry[] entries, boolean appendDefaultJRE) Deprecated.voidsetDefaultOutputFolder(org.eclipse.core.runtime.IPath path) Deprecated.voidDeprecated.voidsetVisible(boolean visible) Deprecated.Methods inherited from class org.eclipse.jdt.ui.wizards.NewElementWizardPage
updateStatus, updateStatusMethods inherited from class org.eclipse.jface.wizard.WizardPage
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toStringMethods inherited from class org.eclipse.jface.dialogs.DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPage
getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelpMethods inherited from interface org.eclipse.jface.wizard.IWizardPage
getMinimumPageSize
-
Constructor Details
-
NewJavaProjectWizardPage
@Deprecated public NewJavaProjectWizardPage(org.eclipse.core.resources.IWorkspaceRoot root, org.eclipse.ui.dialogs.WizardNewProjectCreationPage mainpage) Deprecated.Creates a Java project wizard creation page.The Java project wizard reads project name and location from the main page.
- Parameters:
root- the workspace rootmainpage- the main page of the wizard
-
-
Method Details
-
dispose
Deprecated.- Specified by:
disposein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
disposein classorg.eclipse.jface.dialogs.DialogPage
-
setDefaultOutputFolder
Deprecated.Sets the default output location to be used for the new Java project. This is the path of the folder (with the project) into which the Java builder will generate binary class files corresponding to the project's Java source files.The wizard will create this folder if required.
The default classpath will be applied when
initBuildPathsis called. This is done automatically when the page becomes visible and the project or the default paths have changed.- Parameters:
path- the folder to be taken as the default output path
-
setDefaultClassPath
Deprecated.Sets the default classpath to be used for the new Java project.The caller of this method is responsible for creating the classpath entries for the
IJavaProjectthat corresponds to the created project. The caller is responsible for creating any new folders that might be mentioned on the classpath.The default output location will be applied when
initBuildPathsis called. This is done automatically when the page becomes visible and the project or the default paths have changed.- Parameters:
entries- the default classpath entriesappendDefaultJRE-truea variable entry for the default JRE (specified in the preferences) will be added to the classpath.
-
setProjectModified
Deprecated.Sets the project state to modified. Doing so will initialize the page the next time it becomes visible.- Since:
- 2.0
-
getProjectHandle
Deprecated.Returns the project handle. Subclasses should override this method if they don't provide a main page or if they provide their own main page implementation.- Returns:
- the project handle
-
getLocationPath
Deprecated.Returns the project location path. Subclasses should override this method if they don't provide a main page or if they provide their own main page implementation.- Returns:
- the project location path
-
getNewJavaProject
Deprecated.Returns the Java project handle by converting the result ofgetProjectHandle()into a Java project.- Returns:
- the Java project handle
- See Also:
-
createControl
Deprecated. -
initBuildPaths
Deprecated.Forces the initialization of the Java project page. Default classpath or buildpath will be used if set. The initialization should only be performed when the project or default paths have changed. Toggling back and forward the pages without changes should not re-initialize the page, as changes from the user will be overwritten.- Since:
- 2.0
-
setVisible
Deprecated.Extend this method to set a user defined default classpath or output location. The methodinitBuildPathsis called when the page becomes visible the first time or the project or the default paths have changed.- Specified by:
setVisiblein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisiblein classNewElementWizardPage- Parameters:
visible- iftruethe page becomes visible; otherwise it becomes invisible
-
getOutputLocation
Deprecated.Returns the currently configured output location. Note that the returned path might not be valid.- Returns:
- the configured output location
- Since:
- 2.0
-
getRawClassPath
Deprecated.Returns the currently configured classpath. Note that the classpath might not be valid.- Returns:
- the configured classpath
- Since:
- 2.0
-
getRunnable
Deprecated.Returns the runnable that will create the Java project. The runnable will create and open the project if needed. The runnable will add the Java nature to the project, and set the project's classpath and output location.To create the new java project, execute this runnable
- Returns:
- the runnable
-
NewJavaProjectWizardPageTwoorJavaCapabilityConfigurationPage.