Java Doc for WizardImportPage.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.WizardDataTransferPage
   org.eclipse.ui.dialogs.WizardImportPage

WizardImportPage
abstract public class WizardImportPage extends WizardDataTransferPage (Code)
The abstract superclass for a typical import wizard's main page.

Clients may subclass this page to inherit its common destination resource selection facilities.

Subclasses must implement

  • createSourceGroup

Subclasses may override

  • allowNewContainerName

Subclasses may extend

  • handleEvent




Constructor Summary
protected  WizardImportPage(String name, IStructuredSelection selection)
     Creates an import wizard page.

Method Summary
protected  booleanallowNewContainerName()
     The WizardImportPage implementation of this WizardDataTransferPage method returns true.
public  voidcreateControl(Composite parent)
     (non-Javadoc) Method declared on IDialogPage.
final protected  voidcreateDestinationGroup(Composite parent)
     Creates the import destination specification controls.
abstract protected  voidcreateSourceGroup(Composite parent)
     Creates the import source specification controls.
protected  voiddisplayErrorDialog(String message)
     Display an error dialog with the specified message.
protected  IPathgetContainerFullPath()
     Returns the path of the container resource specified in the container name entry field, or null if no name has been typed in.
protected  IPathgetResourcePath()
     Return the path for the resource field.
protected  IContainergetSpecifiedContainer()
     Returns the container resource specified in the container name entry field, or null if such a container does not exist in the workbench.
protected  voidhandleContainerBrowseButtonPressed()
     Opens a container selection dialog and displays the user's subsequent container resource selection in this page's container name field.
public  voidhandleEvent(Event event)
     The WizardImportPage implementation of this Listener method handles all events and enablements for controls on this page.
final protected  voidinitialPopulateContainerField()
     Sets the initial contents of the container name field.
public  voidsetContainerFieldValue(String value)
     Sets the value of this page's container resource field, or stores it for future use if this page's controls do not exist yet.
final protected  booleanvalidateDestinationGroup()
    


Constructor Detail
WizardImportPage
protected WizardImportPage(String name, IStructuredSelection selection)(Code)
Creates an import wizard page. If the initial resource selection contains exactly one container resource then it will be used as the default import destination.
Parameters:
  name - the name of the page
Parameters:
  selection - the current resource selection




Method Detail
allowNewContainerName
protected boolean allowNewContainerName()(Code)
The WizardImportPage implementation of this WizardDataTransferPage method returns true. Subclasses may override this method.



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



createDestinationGroup
final protected void createDestinationGroup(Composite parent)(Code)
Creates the import destination specification controls.
Parameters:
  parent - the parent control



createSourceGroup
abstract protected void createSourceGroup(Composite parent)(Code)
Creates the import source specification controls.

Subclasses must implement this method.


Parameters:
  parent - the parent control



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



getContainerFullPath
protected IPath getContainerFullPath()(Code)
Returns the path of the container resource specified in the container name entry field, or null if no name has been typed in.

The container specified by the full path might not exist and would need to be created.

the full path of the container resource specified inthe container name entry field, or null



getResourcePath
protected IPath getResourcePath()(Code)
Return the path for the resource field. org.eclipse.core.runtime.IPath



getSpecifiedContainer
protected IContainer getSpecifiedContainer()(Code)
Returns the container resource specified in the container name entry field, or null if such a container does not exist in the workbench. the container resource specified in the container name entry field,or null



handleContainerBrowseButtonPressed
protected void handleContainerBrowseButtonPressed()(Code)
Opens a container selection dialog and displays the user's subsequent container resource selection in this page's container name field.



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



initialPopulateContainerField
final protected void initialPopulateContainerField()(Code)
Sets the initial contents of the container name field.



setContainerFieldValue
public void setContainerFieldValue(String value)(Code)
Sets the value of this page's container resource field, or stores it for future use if this page's controls do not exist yet.
Parameters:
  value - new value



validateDestinationGroup
final protected boolean validateDestinationGroup()(Code)



Fields inherited from org.eclipse.ui.dialogs.WizardDataTransferPage
final protected static int COMBO_HISTORY_LENGTH(Code)(Java Doc)
final protected static int SIZING_TEXT_FIELD_WIDTH(Code)(Java Doc)

Methods inherited from org.eclipse.ui.dialogs.WizardDataTransferPage
protected String[] addToHistory(String[] history, String newEntry)(Code)(Java Doc)
protected void addToHistory(List history, String newEntry)(Code)(Java Doc)
abstract protected boolean allowNewContainerName()(Code)(Java Doc)
protected Label createBoldLabel(Composite parent, String text)(Code)(Java Doc)
protected void createOptionsGroup(Composite parent)(Code)(Java Doc)
protected void createOptionsGroupButtons(Group optionsGroup)(Code)(Java Doc)
protected Label createPlainLabel(Composite parent, String text)(Code)(Java Doc)
protected void createSpacer(Composite parent)(Code)(Java Doc)
protected boolean determinePageCompletion()(Code)(Java Doc)
protected void displayErrorDialog(String message)(Code)(Java Doc)
protected void displayErrorDialog(Throwable exception)(Code)(Java Doc)
protected String getErrorDialogTitle()(Code)(Java Doc)
protected IPath getPathFromText(Text textField)(Code)(Java Doc)
protected IPath queryForContainer(IContainer initialSelection, String msg)(Code)(Java Doc)
protected IPath queryForContainer(IContainer initialSelection, String msg, String title)(Code)(Java Doc)
public String queryOverwrite(String pathString)(Code)(Java Doc)
protected boolean queryYesNoQuestion(String message)(Code)(Java Doc)
protected void restoreWidgetValues()(Code)(Java Doc)
protected void saveWidgetValues()(Code)(Java Doc)
protected void updatePageCompletion()(Code)(Java Doc)
protected void updateWidgetEnablements()(Code)(Java Doc)
protected boolean validateDestinationGroup()(Code)(Java Doc)
protected boolean validateOptionsGroup()(Code)(Java Doc)
protected boolean validateSourceGroup()(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.