Start making theming separate
[lgpl/argeo-commons.git] / org.argeo.cms.ui / src / org / argeo / cms / ui / UxContext.java
index f03b88bbb23ee860f8901dca6743a07625f7b67f..42d7ab3efe8170e41936ce7f8045b3024745f025 100644 (file)
@@ -2,8 +2,17 @@ package org.argeo.cms.ui;
 
 public interface UxContext {
        boolean isPortrait();
+
        boolean isLandscape();
+
        boolean isSquare();
-       
+
        boolean isSmall();
+
+       /**
+        * Is a production environment (must be false by default, and be explicitly
+        * set during the CMS deployment). When false, it can activate additional UI
+        * capabilities in order to facilitate QA.
+        */
+       boolean isMasterData();
 }