Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.application
Class DisplayAccess


java.lang.Object
  extended by 
org.eclipse.ui.application.DisplayAccess

public final class DisplayAccess
extends Object

This class provides static methods that help RCP applications interact with the Display.

Since:
3.4

Constructor Summary
DisplayAccess ()
           
 
Method Summary
static void accessDisplayDuringStartup ()
           This method allows threads spawned early in the workbench startup process to access the Display via the Display.asyncExec(Runnable) and Display.syncExec(Runnable) methods.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisplayAccess

public DisplayAccess()
Method Detail

accessDisplayDuringStartup

public static void accessDisplayDuringStartup()

This method allows threads spawned early in the workbench startup process to access the Display via the Display.asyncExec(Runnable) and Display.syncExec(Runnable) methods. Without invoking this method from a given thread subsequent calls to the above Display methods will behave as follows:

This method MUST NOT be called from threads created by the workbench. If invoked from any thread owned by the Workbench this method will throw an IllegalStateException .

It is recommended that this method be used from ALL threads that touch the display during the startup process, even those that may have been created in the main application class.

This method has no effect after the workbench has been restored.

Throws:
IllegalStateException - thrown if invoked from a thread created by the workbench.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire