You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2012/10/15 22:58:39 UTC

svn commit: r1398512 - in /pivot/branches/2.0.x: ./ wtk/src/org/apache/pivot/wtk/ApplicationContext.java

Author: rwhitcomb
Date: Mon Oct 15 20:58:38 2012
New Revision: 1398512

URL: http://svn.apache.org/viewvc?rev=1398512&view=rev
Log:
PIVOT-879:  Add access to the ApplicationContext displays list so that
multiple host displays can be fully supported.

This is a merge of revision 1398511 from "trunk" to "branches/2.0.x".

Modified:
    pivot/branches/2.0.x/   (props changed)
    pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/ApplicationContext.java

Propchange: pivot/branches/2.0.x/
------------------------------------------------------------------------------
  Merged /pivot/trunk:r1398511

Modified: pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/ApplicationContext.java
URL: http://svn.apache.org/viewvc/pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/ApplicationContext.java?rev=1398512&r1=1398511&r2=1398512&view=diff
==============================================================================
--- pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/ApplicationContext.java (original)
+++ pivot/branches/2.0.x/wtk/src/org/apache/pivot/wtk/ApplicationContext.java Mon Oct 15 20:58:38 2012
@@ -60,6 +60,7 @@ import java.util.TimerTask;
 import org.apache.pivot.collections.ArrayList;
 import org.apache.pivot.collections.Dictionary;
 import org.apache.pivot.collections.HashMap;
+import org.apache.pivot.collections.List;
 import org.apache.pivot.collections.Map;
 import org.apache.pivot.json.JSONSerializer;
 import org.apache.pivot.serialization.SerializationException;
@@ -1832,6 +1833,10 @@ public abstract class ApplicationContext
         timer = null;
     }
 
+    public static List<Display> getDisplays() {
+        return displays;
+    }
+
     protected static void invalidateDisplays() {
         for (Display display : displays) {
             display.invalidate();