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
- public class WizardNewProjectReferencePage
- extends WizardPage
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 useage:
referencePage = new WizardNewProjectReferencePage("basicReferenceProjectPage");
referencePage.setTitle("Project");
referencePage.setDescription("Select referenced projects.");
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, toString |
Methods 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, setMessage, setVisible |
WizardNewProjectReferencePage
public WizardNewProjectReferencePage(String pageName)
- Creates a new project reference wizard page.
- Parameters:
pageName
- the name of this page
createControl
public void createControl(Composite parent)
- (non-Javadoc)
Method declared on IDialogPage.
- Following copied from interface:
org.eclipse.jface.dialogs.IDialogPage
- Parameters:
parent
- the parent composite
getContentProvider
protected IStructuredContentProvider getContentProvider()
- Returns a content provider for the reference project
viewer. It will return all projects in the workspace.
- Returns:
- the content provider
getReferencedProjects
public IProject[] getReferencedProjects()
- Returns the referenced projects selected by the user.
- Returns:
- the referenced projects
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.