Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.dialogs
Class WizardNewProjectReferencePage

java.lang.Object
  extended by 

org.eclipse.jface.dialogs.DialogPage
      extended by 

org.eclipse.jface.wizard.WizardPage
          extended by 
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 usage:

 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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire