Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.ui.dialogs
Class WizardNewProjectReferencePage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.wizard.WizardPage
          extended byorg.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.");
 


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
WizardNewProjectReferencePage(String pageName)
          Creates a new project reference wizard page.
 
Method Summary
 void createControl(Composite parent)
          (non-Javadoc) Method declared on IDialogPage.
protected  IStructuredContentProvider getContentProvider()
          Returns a content provider for the reference project viewer.
 IProject[] getReferencedProjects()
          Returns the referenced projects selected by the user.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
 

Constructor Detail

 

 

WizardNewProjectReferencePage

public WizardNewProjectReferencePage(String pageName)

Creates a new project reference wizard page.

Parameters:
pageName - the name of this page
Method Detail

 

 

createControl

public void createControl(Composite parent)

(non-Javadoc) Method declared on 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


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Eclipse Platform
Release 3.0
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.