Java Doc for IWorkbenchSiteProgressService.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » progress » 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 workbench » org.eclipse.ui.progress 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.progress.IWorkbenchSiteProgressService

All known Subclasses:   org.eclipse.ui.internal.progress.WorkbenchSiteProgressService,
IWorkbenchSiteProgressService
public interface IWorkbenchSiteProgressService extends IProgressService(Code)
IWorkbenchPartProgressService is an IProgressService that adds API for jobs that change the state in a IWorkbenchPartSite while they are being run. WorkbenchParts may access an instance of IWorkbenchSiteProgressService by calling getSite.getAdapter(IWorkbenchSiteProgressService.class); This interface is not intended to be implemented by client plug-ins.
See Also:   IWorkbenchPartSite.getAdapter(Class)
since:
   3.0


Field Summary
final public static  StringBUSY_PROPERTY
     The property that is sent with busy notifications.


Method Summary
public  voiddecrementBusy()
     Decrements the busy counter for this workbench site.
public  voidincrementBusy()
     Increments the busy counter for this workbench site.
public  voidschedule(Job job, long delay, boolean useHalfBusyCursor)
     Jobs scheduled with this method will cause the part's presentation to be changed to indicate that the part is busy and in a transient state until the job completes.
public  voidschedule(Job job, long delay)
     Jobs scheduled with this method will cause the part's presentation to be changed to indicate that the part is busy and in a transient state until the job completes.
public  voidschedule(Job job)
     Jobs scheduled with this method will cause the part's presentation to be changed to indicate that the part is busy and in a transient state until the job completes.
public  voidshowBusyForFamily(Object family)
     Show busy state if any job of the specified family is running.
public  voidwarnOfContentChange()
     Warn that the content of the receiver has changed.

Field Detail
BUSY_PROPERTY
final public static String BUSY_PROPERTY(Code)
The property that is sent with busy notifications.





Method Detail
decrementBusy
public void decrementBusy()(Code)
Decrements the busy counter for this workbench site. This API should only be used for background work that does not use jobs. It is an error to call this method without first making a matching call to IWorkbenchSiteProgressService.incrementBusy() .
since:
   3.3



incrementBusy
public void incrementBusy()(Code)
Increments the busy counter for this workbench site. This API should only be used for background work that does not use jobs. As long as there have been more calls to incrementBusy() than to decrementBusy(), the part will show a busy affordance. Each call to incrementBusy must be followed by a call to decrementBusy once the caller no longer needs the part to show the busy affordance.

Note that the job-related methods on this class are another way to let the part show a busy affordance. A part will only appear non-busy if no jobs have been scheduled through this service, and the internal busy counter is not positive.


since:
   3.3



schedule
public void schedule(Job job, long delay, boolean useHalfBusyCursor)(Code)
Jobs scheduled with this method will cause the part's presentation to be changed to indicate that the part is busy and in a transient state until the job completes. Parts can also add customized busy indication by overriding WorkbenchPart.setBusy(). If useHalfBusyCursor is true then the cursor will change to the half busy cursor for the duration of the job.
Parameters:
  job - The job to schedule
Parameters:
  delay - The delay in scheduling.
Parameters:
  useHalfBusyCursor - A boolean to indicate if the half busycursor should be used while this job is running.
See Also:   Job.schedule(long)



schedule
public void schedule(Job job, long delay)(Code)
Jobs scheduled with this method will cause the part's presentation to be changed to indicate that the part is busy and in a transient state until the job completes. Parts can also add customized busy indication by overriding WorkbenchPart.setBusy.
Parameters:
  job - The job to schedule
Parameters:
  delay - The delay in scheduling.
See Also:   Job.schedule(long)



schedule
public void schedule(Job job)(Code)
Jobs scheduled with this method will cause the part's presentation to be changed to indicate that the part is busy and in a transient state until the job completes. Parts can also add customized busy indication by overriding WorkbenchPart.setBusy.
Parameters:
  job - The job to schedule
See Also:   Job.schedule



showBusyForFamily
public void showBusyForFamily(Object family)(Code)
Show busy state if any job of the specified family is running.
Parameters:
  family - Object
See Also:   Job.belongsTo(Object)



warnOfContentChange
public void warnOfContentChange()(Code)
Warn that the content of the receiver has changed. The method of this is determined by how the presentation shows this.
See Also:   IPresentablePart.PROP_HIGHLIGHT_IF_BACK



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