Package org.eclipse.ui.dialogs
Class WizardNewProjectReferencePage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.ui.dialogs.WizardNewProjectReferencePage
- All Implemented Interfaces:
- IDialogPage,- IMessageProvider,- IWizardPage
Standard project reference page for a wizard that creates a project resource.
 
This page may be used by clients as-is; it may be also be subclassed to suit.
Example usage:
 referencePage = new WizardNewProjectReferencePage("basicReferenceProjectPage");
 referencePage.setTitle("Project");
 referencePage.setDescription("Select referenced projects.");
 - 
Field SummaryFields inherited from interface org.eclipse.jface.dialogs.IMessageProviderERROR, INFORMATION, NONE, WARNING
- 
Constructor SummaryConstructorsConstructorDescriptionWizardNewProjectReferencePage(String pageName) Creates a new project reference wizard page.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateControl(Composite parent) Creates the top level control for this dialog page under the given parent composite.protected IStructuredContentProviderReturns a content provider for the reference project viewer.IProject[]Returns the referenced projects selected by the user.Methods inherited from class org.eclipse.jface.wizard.WizardPagecanFlipToNextPage, 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.DialogPageconvertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.jface.dialogs.IDialogPagedispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisibleMethods inherited from interface org.eclipse.jface.wizard.IWizardPagegetMinimumPageSize
- 
Constructor Details- 
WizardNewProjectReferencePageCreates a new project reference wizard page.- Parameters:
- pageName- the name of this page
 
 
- 
- 
Method Details- 
createControlDescription copied from interface:IDialogPageCreates the top level control for this dialog page under the given parent composite.Implementors are responsible for ensuring that the created control can be accessed via getControl- Parameters:
- parent- the parent composite
 
- 
getContentProviderReturns a content provider for the reference project viewer. It will return all projects in the workspace.- Returns:
- the content provider
 
- 
getReferencedProjectsReturns the referenced projects selected by the user.- Returns:
- the referenced projects
 
 
-