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


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

PlatformGIS
public class PlatformGIS (Code)
A facade into udig to simplify operations relating to performing platform operations.
author:
   jeichar
since:
   1.1




Method Summary
public static  ColorBrewergetColorBrewer()
    
public static  voidrun(IRunnableWithProgress request)
     Runs the given runnable in a separate thread, providing it a progress monitor.
public static  voidrun(ISafeRunnable request)
     Runs the given runnable in a protected mode.
public static  voidrunBlockingOperation(IRunnableWithProgress runnable, IProgressMonitor monitor2)
     This method runs the runnable in a separate thread.
public static  voidrunInProgressDialog(String dialogTitle, boolean showRunInBackground, IRunnableWithProgress runnable, boolean runASync)
     Runs a blocking task in a ProgressDialog.
public static  voidsyncInDisplayThread(Runnable runnable)
     Acts as a safer alternative to Display.syncExec().
public static  voidsyncInDisplayThread(Display display, Runnable runnable)
    
public static  voidwait(long interval, long timeout, WaitCondition condition, Object mutex)
     Waits for the condition to become true.



Method Detail
getColorBrewer
public static ColorBrewer getColorBrewer()(Code)



run
public static void run(IRunnableWithProgress request)(Code)
Runs the given runnable in a separate thread, providing it a progress monitor. Exceptions thrown by the runnable are logged, and not rethrown.



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.



runBlockingOperation
public static void runBlockingOperation(IRunnableWithProgress runnable, IProgressMonitor monitor2) throws InvocationTargetException, InterruptedException(Code)
This method runs the runnable in a separate thread. It is useful in cases where a thread must wait for a long running and potentially blocking operation (for example an IO operation). If the IO is done in the UI thread then the user interface will lock up. This allows synchronous execution of a long running thread in the UI thread without locking the UI.
Parameters:
  runnable - The runnable(operation) to run
Parameters:
  monitor - the progress monitor to update.
throws:
  InvocationTargetException -
throws:
  InterruptedException -



runInProgressDialog
public static void runInProgressDialog(String dialogTitle, boolean showRunInBackground, IRunnableWithProgress runnable, boolean runASync)(Code)
Runs a blocking task in a ProgressDialog. It is ran in such a way that even if the task blocks it can be cancelled. This is unlike the normal ProgressDialog.run(...) method which requires that the IProgressMonitor be checked and the task to "nicely" cancel.
Parameters:
  dialogTitle - The title of the Progress dialog
Parameters:
  showRunInBackground - if true a button added to the dialog that will make the job be ranin the background.
Parameters:
  runnable - the task to execute.
Parameters:
  runASync - TODO



syncInDisplayThread
public static void syncInDisplayThread(Runnable runnable)(Code)
Acts as a safer alternative to Display.syncExec(). If readAndDispatch is being called from the display thread syncExec calls will not be executed only Display.asyncExec calls are executed. So this method uses Display.asyncExec and patiently waits for the result to be returned. Can be called from display thread or non-display thread. Runnable should not be blocking or it will block the display thread.
Parameters:
  runnable - runnable to execute



syncInDisplayThread
public static void syncInDisplayThread(Display display, Runnable runnable)(Code)



wait
public static void wait(long interval, long timeout, WaitCondition condition, Object mutex) throws InterruptedException(Code)
Waits for the condition to become true. Will call Display#readAndDispatch() if currently in the display thread.
Parameters:
  interval - the time to wait between testing of condition, in milliseconds. Must be apositive number and is recommended to be larger than 50
Parameters:
  timeout - maximum time to wait. Will throw an InterruptedException if reached.If -1 then it will not timeout.
Parameters:
  condition - condition to wait on.
Parameters:
  mutex - if not null mutex will be waited on so that a notify will interrupt the wait.
throws:
  InterruptedException -



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.