diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:19:40 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:19:40 +0200 |
commit | 566a5bcb2039dbe6db6b9696449c6f5fe142c763 (patch) | |
tree | 2012c7ad41c5058904ba05848e17d1e248f7559d /odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java | |
parent | cbb79e541cd2aa1f56cf7fbefcf8d0ce9c8db664 (diff) |
recreated tag libreoffice-3.3.0.4 which had these commits:
commit f4a669793477ff9765085fff8ced14cbe8d7f159 (tag: refs/tags/libreoffice-3.3.0.4, refs/remotes/origin/libreoffice-3-3-0)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Jan 18 19:01:21 2011 +0100
Version 3.3.0.4, tag libreoffice-3.3.0.4 (3.3-rc4)
commit c6241c81b61717941cf0a3e4a4188468ceddef07
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue Jan 11 22:59:38 2011 +0100
Branch libreoffice-3-3-0
This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release.
Only very safe changes, reviewed by three people are allowed.
If you want to commit more complicated fix for the next 3.3.x release,
please use the 'libreoffice-3-3' branch.
If you want to build something cool, unstable, and risky, use master.
Notes
Notes:
split repo tag: sdk_libreoffice-3.3.0.4
Diffstat (limited to 'odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java b/odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java index 273f6146a6cc..526ebdc7d1ff 100644 --- a/odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java +++ b/odk/examples/DevelopersGuide/Accessibility/EventListenerProxy.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ import com.sun.star.accessibility.XAccessible; @@ -42,16 +42,16 @@ import com.sun.star.uno.UnoRuntime; import java.util.LinkedList; /** This class acts as a proxy for the simple screen reader. It waits for - two types of events: + two types of events: 1. Accessibility events signal modifications concerning accessibility objects. 2. Top window events inform the listener about new or removed windows. This class exists because events had to be handled in a seperate thread to avoid dead locks: The thread that receives an event must no call back - to the Office directly. + to the Office directly. - Soon this should not be necessary anymore. There is now a flag which + Soon this should not be necessary anymore. There is now a flag which switches between synchronous and asynchronous callbacks. All reveived events are eventually forwarded to the actual listener. In @@ -109,7 +109,7 @@ class EventListenerProxy else aEvent = null; } - + if (aEvent != null) { try @@ -118,7 +118,7 @@ class EventListenerProxy } catch (Throwable aException) { - MessageArea.println( + MessageArea.println( "Exception during event delivery: " + aException); aException.printStackTrace(); } @@ -136,7 +136,7 @@ class EventListenerProxy } catch (Exception aException) { - // Ignore this exception since there is not much + // Ignore this exception since there is not much // that we can do about it. } } @@ -145,9 +145,9 @@ class EventListenerProxy public void disposing( final EventObject aEvent) { - addEvent (new Runnable() + addEvent (new Runnable() { - public void run() + public void run() { maListener.disposing (aEvent); } |