Java Doc for WizardProjectsImportPage.java in  » IDE-Eclipse » ui-ide » org » eclipse » ui » internal » wizards » datatransfer » 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.internal.wizards.datatransfer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.internal.wizards.datatransfer.WizardProjectsImportPage

WizardProjectsImportPage
public class WizardProjectsImportPage extends WizardPage implements IOverwriteQuery(Code)
The WizardProjectsImportPage is the page that allows the user to import projects from a particular location.

Inner Class :public class ProjectRecord

Field Summary
final public static  StringMETADATA_FOLDER
     The name of the folder containing metadata information for the workspace.

Constructor Summary
public  WizardProjectsImportPage()
     Creates a new project creation wizard page.
public  WizardProjectsImportPage(String pageName)
     Create a new instance of the receiver.

Method Summary
public  voidcreateControl(Composite parent)
    
public  booleancreateProjects()
    
protected  voiddisplayErrorDialog(String message)
     Display an error dialog with the specified message.
public  ButtongetCopyCheckbox()
     Method used for test suite.
protected  StringgetErrorDialogTitle()
     Get the title for an error dialog.
public  ButtongetProjectFromDirectoryRadio()
     Method used for test suite.
public  CheckboxTreeViewergetProjectsList()
     Method used for test suite.
public  ProjectRecord[]getValidProjects()
     Get the array of valid project records that can be imported from the source workspace or archive, selected by the user.
protected  voidhandleLocationArchiveButtonPressed()
     The browse button has been selected.
protected  voidhandleLocationDirectoryButtonPressed()
     The browse button has been selected.
public  voidperformCancel()
    
public  StringqueryOverwrite(String pathString)
     The WizardDataTransfer implementation of this IOverwriteQuery method asks the user whether the existing resource at the given path should be overwritten.
public  voidrestoreWidgetValues()
     Use the dialog store to restore widget values to the values that they held last time this wizard was used to completion.
public  voidsaveWidgetValues()
     Since Finish was pressed, write widget values to the dialog store so that they will persist into the next invocation of this wizard page.
public  voidsetVisible(boolean visible)
    
public  voidupdateProjectsList(String path)
     Update the list of projects based on path.

Field Detail
METADATA_FOLDER
final public static String METADATA_FOLDER(Code)
The name of the folder containing metadata information for the workspace.




Constructor Detail
WizardProjectsImportPage
public WizardProjectsImportPage()(Code)
Creates a new project creation wizard page.



WizardProjectsImportPage
public WizardProjectsImportPage(String pageName)(Code)
Create a new instance of the receiver.
Parameters:
  pageName -




Method Detail
createControl
public void createControl(Composite parent)(Code)



createProjects
public boolean createProjects()(Code)
Create the selected projects boolean true if all project creations weresuccessful.



displayErrorDialog
protected void displayErrorDialog(String message)(Code)
Display an error dialog with the specified message.
Parameters:
  message - the error message



getCopyCheckbox
public Button getCopyCheckbox()(Code)
Method used for test suite. Button copy checkbox



getErrorDialogTitle
protected String getErrorDialogTitle()(Code)
Get the title for an error dialog. Subclasses should override.



getProjectFromDirectoryRadio
public Button getProjectFromDirectoryRadio()(Code)
Method used for test suite. Button the Import from Directory RadioButton



getProjectsList
public CheckboxTreeViewer getProjectsList()(Code)
Method used for test suite. CheckboxTreeViewer the viewer containing all the projects found



getValidProjects
public ProjectRecord[] getValidProjects()(Code)
Get the array of valid project records that can be imported from the source workspace or archive, selected by the user. If a project with the same name exists in both the source workspace and the current workspace, it will not appear in the list of projects to import and thus cannot be selected for import. Method declared public for test suite. ProjectRecord[] array of projects that can be imported into theworkspace



handleLocationArchiveButtonPressed
protected void handleLocationArchiveButtonPressed()(Code)
The browse button has been selected. Select the location.



handleLocationDirectoryButtonPressed
protected void handleLocationDirectoryButtonPressed()(Code)
The browse button has been selected. Select the location.



performCancel
public void performCancel()(Code)
Performs clean-up if the user cancels the wizard without doing anything



queryOverwrite
public String queryOverwrite(String pathString)(Code)
The WizardDataTransfer implementation of this IOverwriteQuery method asks the user whether the existing resource at the given path should be overwritten.
Parameters:
  pathString - the user's reply: one of "YES", "NO","ALL", or "CANCEL"



restoreWidgetValues
public void restoreWidgetValues()(Code)
Use the dialog store to restore widget values to the values that they held last time this wizard was used to completion. Method declared public only for use of tests.



saveWidgetValues
public void saveWidgetValues()(Code)
Since Finish was pressed, write widget values to the dialog store so that they will persist into the next invocation of this wizard page. Method declared public only for use of tests.



setVisible
public void setVisible(boolean visible)(Code)



updateProjectsList
public void updateProjectsList(String path)(Code)
Update the list of projects based on path. Method declared public only for test suite.
Parameters:
  path -



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