Package org.eclipse.jdt.ui.wizards
Class NewElementWizardPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.jdt.ui.wizards.NewElementWizardPage
- All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage,org.eclipse.jface.dialogs.IMessageProvider,org.eclipse.jface.wizard.IWizardPage
- Direct Known Subclasses:
JavaCapabilityConfigurationPage,NewContainerWizardPage,NewJavaProjectWizardPage
public abstract class NewElementWizardPage
extends org.eclipse.jface.wizard.WizardPage
Base class for wizard page responsible to create Java elements. The class
provides API to update the wizard's status line and OK button according to
the value of a
IStatus object.
Clients may subclass.
- Since:
- 2.0
-
Field Summary
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetVisible(boolean visible) protected voidupdateStatus(org.eclipse.core.runtime.IStatus status) Updates the status line and the OK button according to the given statusprotected voidupdateStatus(org.eclipse.core.runtime.IStatus[] status) Updates the status line and the OK button according to the status evaluate from an array of status.Methods 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, dispose, 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
createControl, dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelpMethods inherited from interface org.eclipse.jface.wizard.IWizardPage
getMinimumPageSize
-
Constructor Details
-
NewElementWizardPage
Creates aNewElementWizardPage.- Parameters:
name- the wizard page's name
-
-
Method Details
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisiblein interfaceorg.eclipse.jface.dialogs.IDialogPage- Overrides:
setVisiblein classorg.eclipse.jface.dialogs.DialogPage
-
updateStatus
protected void updateStatus(org.eclipse.core.runtime.IStatus status) Updates the status line and the OK button according to the given status- Parameters:
status- status to apply
-
updateStatus
protected void updateStatus(org.eclipse.core.runtime.IStatus[] status) Updates the status line and the OK button according to the status evaluate from an array of status. The most severe error is taken. In case that two status with the same severity exists, the status with lower index is taken.- Parameters:
status- the array of status
-