Java Doc for WizardNewFolderMainPage.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.WizardNewFolderMainPage

WizardNewFolderMainPage
public class WizardNewFolderMainPage extends WizardPage implements Listener(Code)
Standard main page for a wizard that creates a folder resource.

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

Subclasses may extend

  • handleEvent




Constructor Summary
public  WizardNewFolderMainPage(String pageName, IStructuredSelection selection)
     Creates a new folder creation wizard page.

Method Summary
protected  voidcreateAdvancedControls(Composite parent)
     Creates the widget for advanced options.
public  voidcreateControl(Composite parent)
     (non-Javadoc) Method declared on IDialogPage.
protected  voidcreateFolder(IFolder folderHandle, IProgressMonitor monitor)
     Creates a folder resource given the folder handle.
protected  IFoldercreateFolderHandle(IPath folderPath)
     Creates a folder resource handle for the folder with the given workspace path.
protected  voidcreateLinkTarget()
     Creates the link target path if a link target has been specified.
public  IFoldercreateNewFolder()
     Creates a new folder resource in the selected container and with the selected name.
protected  voidhandleAdvancedButtonSelect()
     Shows/hides the advanced option widgets.
public  voidhandleEvent(Event ev)
     The WizardNewFolderCreationPage implementation of this Listener method handles all events and enablements for controls on this page.
protected  voidinitializePage()
     Initializes this page's controls.
public  voidsetVisible(boolean visible)
    
protected  IStatusvalidateLinkedResource()
     Checks whether the linked resource target is valid.
protected  booleanvalidatePage()
     Returns whether this page's controls currently all contain valid values.


Constructor Detail
WizardNewFolderMainPage
public WizardNewFolderMainPage(String pageName, IStructuredSelection selection)(Code)
Creates a new folder creation wizard page. If the initial resource selection contains exactly one container resource then it will be used as the default container resource.
Parameters:
  pageName - the name of the page
Parameters:
  selection - the current resource selection




Method Detail
createAdvancedControls
protected void createAdvancedControls(Composite parent)(Code)
Creates the widget for advanced options.
Parameters:
  parent - the parent composite



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



createFolder
protected void createFolder(IFolder folderHandle, IProgressMonitor monitor) throws CoreException(Code)
Creates a folder resource given the folder handle.
Parameters:
  folderHandle - the folder handle to create a folder resource for
Parameters:
  monitor - the progress monitor to show visual progress with
exception:
  CoreException - if the operation fails
exception:
  OperationCanceledException - if the operation is canceledWizardNewFolderMainPage.createNewFolder()



createFolderHandle
protected IFolder createFolderHandle(IPath folderPath)(Code)
Creates a folder resource handle for the folder with the given workspace path. This method does not create the folder resource; this is the responsibility of createFolder.
Parameters:
  folderPath - the path of the folder resource to create a handle for the new folder resource handle
See Also:   WizardNewFolderMainPage.createFolder



createLinkTarget
protected void createLinkTarget()(Code)
Creates the link target path if a link target has been specified.



createNewFolder
public IFolder createNewFolder()(Code)
Creates a new folder resource in the selected container and with the selected name. Creates any missing resource containers along the path; does nothing if the container resources already exist.

In normal usage, this method is invoked after the user has pressed Finish on the wizard; the enablement of the Finish button implies that all controls on this page currently contain valid values.

Note that this page caches the new folder once it has been successfully created; subsequent invocations of this method will answer the same folder resource without attempting to create it again.

This method should be called within a workspace modify operation since it creates resources.

the created folder resource, or null if the folderwas not created



handleAdvancedButtonSelect
protected void handleAdvancedButtonSelect()(Code)
Shows/hides the advanced option widgets.



handleEvent
public void handleEvent(Event ev)(Code)
The WizardNewFolderCreationPage implementation of this Listener method handles all events and enablements for controls on this page. Subclasses may extend.



initializePage
protected void initializePage()(Code)
Initializes this page's controls.



setVisible
public void setVisible(boolean visible)(Code)



validateLinkedResource
protected IStatus validateLinkedResource()(Code)
Checks whether the linked resource target is valid. Sets the error message accordingly and returns the status. IStatus validation result from the CreateLinkedResourceGroup



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.