projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve CmsView capabilities.
[lgpl/argeo-commons.git]
/
org.argeo.cms.ui
/
src
/
org
/
argeo
/
cms
/
ui
/
CmsView.java
diff --git
a/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java
b/org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java
index 311d10fbe9d22f2c1db2db8e9f55d14a9db7a850..8011dce59a9af024ef40ecb025c30cde7e80be31 100644
(file)
--- a/
org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java
+++ b/
org.argeo.cms.ui/src/org/argeo/cms/ui/CmsView.java
@@
-1,5
+1,6
@@
package org.argeo.cms.ui;
package org.argeo.cms.ui;
+import java.security.PrivilegedAction;
import java.util.HashMap;
import java.util.Map;
import java.util.HashMap;
import java.util.Map;
@@
-51,9
+52,13
@@
public interface CmsView {
properties.put(param, value);
sendEvent(topic, properties);
}
properties.put(param, value);
sendEvent(topic, properties);
}
-
+
default void applyStyles(Object widget) {
default void applyStyles(Object widget) {
-
+
+ }
+
+ default <T> T doAs(PrivilegedAction<T> action) {
+ throw new UnsupportedOperationException();
}
static CmsView getCmsView(Control parent) {
}
static CmsView getCmsView(Control parent) {