public class WizardNewProjectReferencePage extends WizardPage
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.");
ERROR, INFORMATION, NONE, WARNING
Constructor and Description |
---|
WizardNewProjectReferencePage(String pageName)
Creates a new project reference wizard page.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(Composite parent)
Creates the top level control for this dialog
page under the given parent composite.
|
protected IStructuredContentProvider |
getContentProvider()
Returns a content provider for the reference project
viewer.
|
IProject[] |
getReferencedProjects()
Returns the referenced projects selected by the user.
|
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, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
public WizardNewProjectReferencePage(String pageName)
pageName
- the name of this pagepublic void createControl(Composite parent)
IDialogPage
Implementors are responsible for ensuring that
the created control can be accessed via getControl
parent
- the parent compositeprotected IStructuredContentProvider getContentProvider()
public IProject[] getReferencedProjects()
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.