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


net.refractions.udig.catalog.internal.ui.CatalogView

CatalogView
public class CatalogView extends ViewPart implements ISetSelectionTarget,IDropTargetProvider(Code)
Catalog view for visualization and management if resources.

This class will be rather heavy on documentation, because it central (literally) to the uDig applicaiton, and because it is one of the first views we are creating.

Of Note:

  • The catalog is strange in that there is only *one*, represent a global registry of all the data sources in use by any uDig plugins.

From the requirements document (where CatalogView is known as LocalCatalog): The Local Catalog serves as a central repository of data and server information.

Non-Functional Requirements:

  • Ease of Data Location , intent is for the user to be separated from the data source; so they need as little technical knowledge as possible.
  • Security , name/password should be left out of the export/share.

Functional Requirements:

  • Servers , store server connection information for sharing between projects.
  • Data Directories , store data directories for sharing between projects.
  • Metadata , provide access to metadata on Servers/Data Directories.
  • Data Discovery , provide enough information for a user to define a new layer in their context.
  • Persist Settings , permit exporting and sharing DataStore connection information.
  • DataStores Management , lookup actualized DataStores that are in use.
  • Missing Data , entries referred to by imported projects should be maintained, allowing the user one location to correct data connection information.

Catalog View has a strong interaction with the preferences maintained by the local installation of uDig for the current user.



Field Summary
final public static  StringVIEW_ID
    
 ActionremoveAction
    
 CatalogTreeViewertreeviewer
    


Method Summary
public  voidcreatePartControl(Composite parent)
     Creates the SWT controls for this workbench part.

The details (from IWorkbenchPart.createPartControl( Composite ))

Multi-step process:

  1. Create one or more controls within the parent.
  2. Set the parent layout as needed.
  3. Register any global actions with the IActionService.
 voidfreeDatasource()
    
public  ObjectgetTarget(DropTargetEvent event)
    
public  CatalogTreeViewergetTreeviewer()
    
 voidregisterDatasource()
    
public  voidselectReveal(ISelection selection)
    
public  voidsetFocus()
     Asks this view take focus within the workbench.

From IWorkbenchPart: Clients should not call this method (the workbench calls this method at appropriate times).

 voidupdateActionEnablement()
    

Field Detail
VIEW_ID
final public static String VIEW_ID(Code)
VIEW_ID field



removeAction
Action removeAction(Code)



treeviewer
CatalogTreeViewer treeviewer(Code)





Method Detail
createPartControl
public void createPartControl(Composite parent)(Code)
Creates the SWT controls for this workbench part.

The details (from IWorkbenchPart.createPartControl( Composite ))

Multi-step process:

  1. Create one or more controls within the parent.
  2. Set the parent layout as needed.
  3. Register any global actions with the IActionService.
  4. Register any popup menus with the IActionService.
  5. Register a selection provider with the ISelectionService (optional).


See Also:   org.eclipse.ui.part.WorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)
Parameters:
  parent -



freeDatasource
void freeDatasource()(Code)



getTarget
public Object getTarget(DropTargetEvent event)(Code)



getTreeviewer
public CatalogTreeViewer getTreeviewer()(Code)
Returns the treeviewer.



registerDatasource
void registerDatasource()(Code)



selectReveal
public void selectReveal(ISelection selection)(Code)



setFocus
public void setFocus()(Code)
Asks this view take focus within the workbench.

From IWorkbenchPart: Clients should not call this method (the workbench calls this method at appropriate times). To have the workbench activate a part, use IWorkbenchPage.activate(IWorkbenchPart) instead.

Used to set the focus to the appropriate control, for us that is the treeviewer. But if we were smart we could send the user off to a search field or something they actually need (like a broken datastore) based on context.




updateActionEnablement
void updateActionEnablement()(Code)



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