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


java.lang.Object
   net.refractions.udig.project.ui.PlatformGIS

PlatformGIS
public class PlatformGIS (Code)
A facade into udig to simplify operations such as getting the active map and openning a map editor.
author:
   jeichar
since:
   0.9.0ApplicationGIS




Method Summary
public static  voidaddLayersToActiveMap(List<IGeoResource> resources)
     If an active map exists the layers will be added to that map.
public static  voidcreateAndOpenMap(List<IGeoResource> resources)
     creates a map and opens an editor for the map.
Parameters:
  a - list of IGeoResources.
public static  voidcreateAndOpenMap(List<IGeoResource> resources, IProject owner)
     creates a map and opens an editor for the map.
Parameters:
  a - list of IGeoResources.
public static  IMapgetActiveMap()
     May return null if the active editor is not a Map Editor. the map contained by the current MapEditor or null if the activeeditor is not a map editor.
public static  IProjectgetActiveProject()
     May return null of no project is active.
public static  List<IMap>getMaps()
     May return null if no Map Editors exist.
public static  IViewPartgetView(boolean show, String id)
     Gets a reference to a view.
public static  voidopenMap(IMap map)
     Opens a Map editor for the provided map.
Parameters:
  map - the map to open.
public static  voidrun(ISafeRunnable request)
     Runs the given runnable in a protected mode.



Method Detail
addLayersToActiveMap
public static void addLayersToActiveMap(List<IGeoResource> resources) throws IllegalStateException(Code)
If an active map exists the layers will be added to that map. Otherwise an IllegalStateException will be thrown.
Parameters:
  a - list of IGeoResources. Each resource will be a layer in the activemap. ApplicationGIS#addLayersToMap(IMap, List, int, Project))



createAndOpenMap
public static void createAndOpenMap(List<IGeoResource> resources)(Code)
creates a map and opens an editor for the map.
Parameters:
  a - list of IGeoResources. Each resource will be a layer in the createdmap. ApplicationGIS#createAndOpenMap(List))



createAndOpenMap
public static void createAndOpenMap(List<IGeoResource> resources, IProject owner)(Code)
creates a map and opens an editor for the map.
Parameters:
  a - list of IGeoResources. Each resource will be a layer in the createdmap.
Parameters:
  owner - the project that will contain the map. owner must be an instance of Project. If itis obtained using the framework then this will always be the case. ApplicationGIS#createAndOpenMap(List, IProject))



getActiveMap
public static IMap getActiveMap()(Code)
May return null if the active editor is not a Map Editor. the map contained by the current MapEditor or null if the activeeditor is not a map editor. ApplicationGIS#getActiveMap()()



getActiveProject
public static IProject getActiveProject()(Code)
May return null of no project is active. The current active project, or null if no such project exists.ApplicationGIS.getActiveProject



getMaps
public static List<IMap> getMaps()(Code)
May return null if no Map Editors exist. a list of maps contained or null if no Map Editors exist.ApplicationGIS.getOpenMaps



getView
public static IViewPart getView(boolean show, String id)(Code)
Gets a reference to a view. If the view has not been opened previously then the view will be opened.
Parameters:
  show - whether to show the view or not.
Parameters:
  id - the id of the view to show. returns the view or null if the view does not exist ApplicationGIS#getView(boolean, String))



openMap
public static void openMap(IMap map)(Code)
Opens a Map editor for the provided map.
Parameters:
  map - the map to open. Must be an instance of Map.ApplicationGIS.openMap(IMap)



run
public static void run(ISafeRunnable request)(Code)
Runs the given runnable in a protected mode. Exceptions thrown in the runnable are logged and passed to the runnable's exception handler. Such exceptions are not rethrown by this method. net.refractions.udig.ui.PlatformGIS.run(ISafeRunnable)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.