Java Doc for IDataWizard.java in  » GIS » udig-1.1 » net » refractions » udig » catalog » ui » 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 » GIS » udig 1.1 » net.refractions.udig.catalog.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.refractions.udig.catalog.ui.IDataWizard

IDataWizard
abstract public class IDataWizard extends Wizard implements IWorkbenchWizard(Code)
A wizard which is used to import data into udig.

This is wizard is made up of primary pages, and secondary pages. A primary page is an
See Also:   org.eclipse.jface.wizard.IWizardPage
See Also:    that the wizard declares it will contain. A secondary
See Also:   page is a page which is dynamically contributed to the wizard via a primary page, or another
See Also:   secondary page.
See Also:   


See Also:   


See Also:   Sublcasses declare the ordered set of primary pages with the getPrimaryPages() method.
See Also:   Secondary pages are contributed dynamically by returning them from a call to
See Also:    org.eclipse.jface.wizard.IWizardPage#getNextPage().
See Also:   


See Also:   


See Also:   Secondary page processing will continue, until a page returns null from getNextPage().
See Also:   Processing then continues at the next primary page. If no more primary pages exist, the
See Also:   wizard finishes.
See Also:   


See Also:   


See Also:   If using an IDataWizard outside of the workbench wizard framework, it is up to client code
See Also:   to call
See Also:   org.eclipse.ui.IWorkbenchWizard.init(org.eclipse.ui.IWorkbenchorg.eclipse.jface.viewers.IStructuredSelection)
See Also:    immediatly after instantiating the wizard.
See Also:   


See Also:   


See Also:   The following are requirements on the pages of the wizard.
See Also:   


    See Also:   
  • They must extend from
    See Also:   org.eclipse.jface.wizard.WizardPage
    See Also:   
  • getNextPage must either return a new wizard page, or super.getNextPage()
    See Also:   
  • init(WizardPage) must be called before returning a page from
    See Also:   

See Also:   


See Also:   Example:
See Also:   public IWizardPage getNextPage() {
See Also:   if (returnNewPage) {
See Also:   WizardPage newPage = new WizardPage(....);
See Also:   IDataWizard wizard = (IDataWizard)getWizard();
See Also:   wizard.init(page);
See Also:   return page;
See Also:   }
See Also:   return super.getNextPage();
See Also:   }
See Also:   

See Also:   


See Also:   It is important to note that pages inside this wizard must return a page or
See Also:   super.getNextPage() from getNextPage().
See Also:   


See Also:   


See Also:   This wizard creates dialog settings for pages upon creation.
See Also:   


author:
   Justin Deoliveira,Refractions Research Inc.,jdeolive@refractions.net


Field Summary
final static  StringSETTINGS
    
 WizardPage[]pages
    
 IStructuredSelectionselection
    
 IWorkbenchworkbench
    

Constructor Summary
public  IDataWizard()
    

Method Summary
public  voidaddPages()
     Adds the primary pages to the wizard.
public  booleancanFinish()
    
public  IWizardPagegetNextPage(IWizardPage page)
     Returns the next primary page in the page sequence.
abstract protected  WizardPage[]getPrimaryPages()
     Returns the set of primary pages.
public  IStructuredSelectiongetSelection()
    
public  IWorkbenchgetWorkbench()
    
public  booleanhasMorePrimaryPages()
     Determines if the wizard has any more primary pages.
public  voidinit(IWorkbench workbench, IStructuredSelection selection)
    
public  voidinit(WizardPage page)
     Initializes a wizard page for use in the data wizard.
public  booleanneedsPreviousAndNextButtons()
    

Field Detail
SETTINGS
final static String SETTINGS(Code)



pages
WizardPage[] pages(Code)
the primary wizard pages *



selection
IStructuredSelection selection(Code)
the selection *



workbench
IWorkbench workbench(Code)
the workbench *




Constructor Detail
IDataWizard
public IDataWizard()(Code)




Method Detail
addPages
public void addPages()(Code)
Adds the primary pages to the wizard.
See Also:   org.eclipse.jface.wizard.IWizard.addPages



canFinish
public boolean canFinish()(Code)



getNextPage
public IWizardPage getNextPage(IWizardPage page)(Code)
Returns the next primary page in the page sequence. This method is called by the
See Also:   org.eclipse.jface.wizard.IWizardContainer
See Also:    when a page does not contribute a secondary
See Also:   page.
See Also:   org.eclipse.jface.wizard.IWizard.getNextPage(org.eclipse.jface.wizard.IWizardPage)



getPrimaryPages
abstract protected WizardPage[] getPrimaryPages()(Code)
Returns the set of primary pages. This method is called while the wizard is being instantiated.



getSelection
public IStructuredSelection getSelection()(Code)
the selection the wizard was initialized with.



getWorkbench
public IWorkbench getWorkbench()(Code)
the workbench the wizard was initialized with.



hasMorePrimaryPages
public boolean hasMorePrimaryPages()(Code)
Determines if the wizard has any more primary pages. True if so, otherwise false.



init
public void init(IWorkbench workbench, IStructuredSelection selection)(Code)

See Also:   IWorkbenchWizard.init(org.eclipse.ui.IWorkbenchorg.eclipse.jface.viewers.IStructuredSelection)



init
public void init(WizardPage page)(Code)
Initializes a wizard page for use in the data wizard. This method should be called by pages returning a new page from getNextPage().
Parameters:
  page - The page to be initialized.



needsPreviousAndNextButtons
public boolean needsPreviousAndNextButtons()(Code)

See Also:   org.eclipse.jface.wizard.IWizard.needsPreviousAndNextButtons



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