Java Doc for WizardFileSystemResourceExportPage1.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.dialogs.WizardExportResourcesPage
   org.eclipse.ui.internal.wizards.datatransfer.WizardFileSystemResourceExportPage1

All known Subclasses:   org.eclipse.ui.internal.wizards.datatransfer.WizardArchiveFileResourceExportPage1,
WizardFileSystemResourceExportPage1
public class WizardFileSystemResourceExportPage1 extends WizardExportResourcesPage implements Listener(Code)
Page 1 of the base resource export-to-file-system Wizard


Field Summary
protected  ButtoncreateDirectoryStructureButton
    
protected  ButtoncreateSelectionOnlyButton
    
protected  ButtonoverwriteExistingFilesCheckbox
    

Constructor Summary
protected  WizardFileSystemResourceExportPage1(String name, IStructuredSelection selection)
    
public  WizardFileSystemResourceExportPage1(IStructuredSelection selection)
     Create an instance of this class.

Method Summary
protected  voidaddDestinationItem(String value)
    
public  voidcreateControl(Composite parent)
     (non-Javadoc) Method declared on IDialogPage.
protected  voidcreateDestinationGroup(Composite parent)
    
protected  voidcreateDirectoryStructureOptions(Composite optionsGroup, Font font)
     Create the buttons for the group that determine if the entire or selected directory structure should be created.
protected  voidcreateOptionsGroupButtons(Group optionsGroup)
     Create the buttons in the options group.
protected  voidcreateOverwriteExisting(Group optionsGroup, Font font)
     Create the button for checking if we should ask if we are going to overwrite existing files.
protected  StringdestinationEmptyMessage()
     Get the message used to denote an empty destination.
protected  booleanensureDirectoryExists(File directory)
     Attempts to ensure that the specified directory exists on the local file system.
protected  booleanensureTargetIsValid(File targetDirectory)
     If the target for export does not exist then attempt to create it.
protected  booleanexecuteExportOperation(FileSystemExportOperation op)
     Set up and execute the passed Operation.
public  booleanfinish()
     The Finish button was pressed.
protected  StringgetConflictingContainerNameFor(String targetDirectory)
     Returns the name of a container with a location that encompasses targetDirectory. Returns null if there is no conflict.
Parameters:
  targetDirectory - the path of the directory to check.
protected  StringgetDestinationLabel()
    
protected  StringgetDestinationValue()
    
protected  voidgiveFocusToDestination()
    
protected  voidhandleDestinationBrowseButtonPressed()
    
public  voidhandleEvent(Event e)
    
protected  voidinternalSaveWidgetValues()
     Hook method for saving widget values for restoration by the next instance of this class.
protected  voidrestoreWidgetValues()
     Hook method for restoring widget values to the values that they held last time this wizard was used to completion.
protected  voidsetDestinationValue(String value)
    
protected  booleanvalidateDestinationGroup()
     Answer a boolean indicating whether the receivers destination specification widgets currently all contain valid values.
protected  booleanvalidateSourceGroup()
    

Field Detail
createDirectoryStructureButton
protected Button createDirectoryStructureButton(Code)



createSelectionOnlyButton
protected Button createSelectionOnlyButton(Code)



overwriteExistingFilesCheckbox
protected Button overwriteExistingFilesCheckbox(Code)




Constructor Detail
WizardFileSystemResourceExportPage1
protected WizardFileSystemResourceExportPage1(String name, IStructuredSelection selection)(Code)
Create an instance of this class



WizardFileSystemResourceExportPage1
public WizardFileSystemResourceExportPage1(IStructuredSelection selection)(Code)
Create an instance of this class.
Parameters:
  selection - the selection




Method Detail
addDestinationItem
protected void addDestinationItem(String value)(Code)
Add the passed value to self's destination widget's history
Parameters:
  value - java.lang.String



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



createDestinationGroup
protected void createDestinationGroup(Composite parent)(Code)
Create the export destination specification widgets
Parameters:
  parent - org.eclipse.swt.widgets.Composite



createDirectoryStructureOptions
protected void createDirectoryStructureOptions(Composite optionsGroup, Font font)(Code)
Create the buttons for the group that determine if the entire or selected directory structure should be created.
Parameters:
  optionsGroup -
Parameters:
  font -



createOptionsGroupButtons
protected void createOptionsGroupButtons(Group optionsGroup)(Code)
Create the buttons in the options group.



createOverwriteExisting
protected void createOverwriteExisting(Group optionsGroup, Font font)(Code)
Create the button for checking if we should ask if we are going to overwrite existing files.
Parameters:
  optionsGroup -
Parameters:
  font -



destinationEmptyMessage
protected String destinationEmptyMessage()(Code)
Get the message used to denote an empty destination.



ensureDirectoryExists
protected boolean ensureDirectoryExists(File directory)(Code)
Attempts to ensure that the specified directory exists on the local file system. Answers a boolean indicating success. boolean
Parameters:
  directory - java.io.File



ensureTargetIsValid
protected boolean ensureTargetIsValid(File targetDirectory)(Code)
If the target for export does not exist then attempt to create it. Answer a boolean indicating whether the target exists (ie.- if it either pre-existed or this method was able to create it) boolean



executeExportOperation
protected boolean executeExportOperation(FileSystemExportOperation op)(Code)
Set up and execute the passed Operation. Answer a boolean indicating success. boolean



finish
public boolean finish()(Code)
The Finish button was pressed. Try to do the required work now and answer a boolean indicating success. If false is returned then the wizard will not close. boolean



getConflictingContainerNameFor
protected String getConflictingContainerNameFor(String targetDirectory)(Code)
Returns the name of a container with a location that encompasses targetDirectory. Returns null if there is no conflict.
Parameters:
  targetDirectory - the path of the directory to check. the conflicting container name or null



getDestinationLabel
protected String getDestinationLabel()(Code)
Answer the string to display in self as the destination type java.lang.String



getDestinationValue
protected String getDestinationValue()(Code)
Answer the contents of self's destination specification widget java.lang.String



giveFocusToDestination
protected void giveFocusToDestination()(Code)
Set the current input focus to self's destination entry field



handleDestinationBrowseButtonPressed
protected void handleDestinationBrowseButtonPressed()(Code)
Open an appropriate destination browser so that the user can specify a source to import from



handleEvent
public void handleEvent(Event e)(Code)
Handle all events and enablements for widgets in this page
Parameters:
  e - Event



internalSaveWidgetValues
protected void internalSaveWidgetValues()(Code)
Hook method for saving widget values for restoration by the next instance of this class.



restoreWidgetValues
protected void restoreWidgetValues()(Code)
Hook method for restoring widget values to the values that they held last time this wizard was used to completion.



setDestinationValue
protected void setDestinationValue(String value)(Code)
Set the contents of the receivers destination specification widget to the passed value



validateDestinationGroup
protected boolean validateDestinationGroup()(Code)
Answer a boolean indicating whether the receivers destination specification widgets currently all contain valid values.



validateSourceGroup
protected boolean validateSourceGroup()(Code)



Methods inherited from org.eclipse.ui.dialogs.WizardExportResourcesPage
protected boolean allowNewContainerName()(Code)(Java Doc)
protected Button createButton(Composite parent, int id, String label, boolean defaultButton)(Code)(Java Doc)
final protected void createButtonsGroup(Composite parent)(Code)(Java Doc)
public void createControl(Composite parent)(Code)(Java Doc)
abstract protected void createDestinationGroup(Composite parent)(Code)(Java Doc)
final protected void createResourcesGroup(Composite parent)(Code)(Java Doc)
protected boolean ensureResourcesLocal(List resources)(Code)(Java Doc)
protected List extractNonLocalResources(List originalList)(Code)(Java Doc)
protected String getErrorDialogTitle()(Code)(Java Doc)
protected List getSelectedResources()(Code)(Java Doc)
protected Iterator getSelectedResourcesIterator()(Code)(Java Doc)
protected List getTypesToExport()(Code)(Java Doc)
protected List getWhiteCheckedResources()(Code)(Java Doc)
protected void handleTypesEditButtonPressed()(Code)(Java Doc)
protected boolean hasExportableExtension(String resourceName)(Code)(Java Doc)
protected void internalSaveWidgetValues()(Code)(Java Doc)
protected Object[] queryResourceTypesToExport()(Code)(Java Doc)
protected void restoreResourceSpecificationWidgetValues()(Code)(Java Doc)
protected boolean saveDirtyEditors()(Code)(Java Doc)
protected void saveWidgetValues()(Code)(Java Doc)
protected void setupBasedOnInitialSelections()(Code)(Java Doc)
protected void updateWidgetEnablements()(Code)(Java Doc)

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