Java Doc for WizardNewProjectCreationPage.java in  » IDE-Eclipse » ui-ide » org » eclipse » ui » dialogs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui ide » org.eclipse.ui.dialogs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.dialogs.WizardNewProjectCreationPage

WizardNewProjectCreationPage
public class WizardNewProjectCreationPage extends WizardPage (Code)
Standard main page for a wizard that is creates a project resource.

This page may be used by clients as-is; it may be also be subclassed to suit.

Example usage:

 mainPage = new WizardNewProjectCreationPage("basicNewProjectPage");
 mainPage.setTitle("Project");
 mainPage.setDescription("Create a new project resource.");
 



Field Summary
 TextprojectNameField
    

Constructor Summary
public  WizardNewProjectCreationPage(String pageName)
     Creates a new project creation wizard page.
public  WizardNewProjectCreationPage(String pageName, IStructuredSelection selection, String[] workingSetTypes)
     Creates a new project creation wizard page.

Method Summary
public  voidcreateControl(Composite parent)
     (non-Javadoc) Method declared on IDialogPage.
public  WorkingSetGroupcreateWorkingSetGroup(Composite composite, IStructuredSelection selection, String[] supportedWorkingSetTypes)
     Create a working set group for this page.
public  IPathgetLocationPath()
     Returns the current project location path as entered by the user, or its anticipated initial value.
public  URIgetLocationURI()
     /** Returns the current project location URI as entered by the user, or null if a valid project location has not been entered.
public  IProjectgetProjectHandle()
     Creates a project resource handle for the current project name field value.
public  StringgetProjectName()
     Returns the current project name as entered by the user, or its anticipated initial value.
public  IWorkingSet[]getSelectedWorkingSets()
     Return the selected working sets, if any.
public  voidsetInitialProjectName(String name)
     Sets the initial project name that this page will use when created.
 voidsetLocationForSelection()
     Set the location to the default location if we are set to useDefaults.
public  voidsetVisible(boolean visible)
    
public  booleanuseDefaults()
     Returns the useDefaults.
protected  booleanvalidatePage()
     Returns whether this page's controls currently all contain valid values.

Field Detail
projectNameField
Text projectNameField(Code)




Constructor Detail
WizardNewProjectCreationPage
public WizardNewProjectCreationPage(String pageName)(Code)
Creates a new project creation wizard page.
Parameters:
  pageName - the name of this page



WizardNewProjectCreationPage
public WizardNewProjectCreationPage(String pageName, IStructuredSelection selection, String[] workingSetTypes)(Code)
Creates a new project creation wizard page.
Parameters:
  pageName -
Parameters:
  selection -
Parameters:
  workingSetTypes - WizardNewProjectCreationPage.createWorkingSetGroup(Composite,IStructuredSelection,String[])WizardNewProjectCreationPage.createControl(Composite)
since:
   3.4




Method Detail
createControl
public void createControl(Composite parent)(Code)
(non-Javadoc) Method declared on IDialogPage.



createWorkingSetGroup
public WorkingSetGroup createWorkingSetGroup(Composite composite, IStructuredSelection selection, String[] supportedWorkingSetTypes)(Code)
Create a working set group for this page. This method can only be called once.
Parameters:
  composite - the composite in which to create the group
Parameters:
  selection - the current workbench selection
Parameters:
  supportedWorkingSetTypes - an array of working set type IDs that will restrict what typesof working sets can be chosen in this group the created group. If this method has been called previously theoriginal group will be returned.
since:
   3.4



getLocationPath
public IPath getLocationPath()(Code)
Returns the current project location path as entered by the user, or its anticipated initial value. Note that if the default has been returned the path in a project description used to create a project should not be set. the project location path or its anticipated initial value.



getLocationURI
public URI getLocationURI()(Code)
/** Returns the current project location URI as entered by the user, or null if a valid project location has not been entered. the project location URI, or null
since:
   3.2



getProjectHandle
public IProject getProjectHandle()(Code)
Creates a project resource handle for the current project name field value. The project handle is created relative to the workspace root.

This method does not create the project resource; this is the responsibility of IProject::create invoked by the new project resource wizard.

the new project resource handle



getProjectName
public String getProjectName()(Code)
Returns the current project name as entered by the user, or its anticipated initial value. the project name, its anticipated initial value, or nullif no project name is known



getSelectedWorkingSets
public IWorkingSet[] getSelectedWorkingSets()(Code)
Return the selected working sets, if any. If this page is not configured to interact with working sets this will be an empty array. the selected working sets
since:
   3.4



setInitialProjectName
public void setInitialProjectName(String name)(Code)
Sets the initial project name that this page will use when created. The name is ignored if the createControl(Composite) method has already been called. Leading and trailing spaces in the name are ignored. Providing the name of an existing project will not necessarily cause the wizard to warn the user. Callers of this method should first check if the project name passed already exists in the workspace.
Parameters:
  name - initial project name for this page
See Also:   IWorkspace.validateName(Stringint)



setLocationForSelection
void setLocationForSelection()(Code)
Set the location to the default location if we are set to useDefaults.



setVisible
public void setVisible(boolean visible)(Code)



useDefaults
public boolean useDefaults()(Code)
Returns the useDefaults. boolean



validatePage
protected boolean validatePage()(Code)
Returns whether this page's controls currently all contain valid values. true if all controls are valid, andfalse if at least one is invalid



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.