projects
/
lgpl
/
argeo-commons.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get CmsView directly from Control.
[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 b403a2088d33fbfcb703c49c1bdf11762eca4b6d..311d10fbe9d22f2c1db2db8e9f55d14a9db7a850 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
@@
-5,7
+5,7
@@
import java.util.Map;
import javax.security.auth.login.LoginContext;
import javax.security.auth.login.LoginContext;
-import org.eclipse.swt.widgets.Co
mposite
;
+import org.eclipse.swt.widgets.Co
ntrol
;
import org.eclipse.swt.widgets.Shell;
/** Provides interaction with the CMS system. */
import org.eclipse.swt.widgets.Shell;
/** Provides interaction with the CMS system. */
@@
-56,7
+56,7
@@
public interface CmsView {
}
}
- static CmsView getCmsView(Co
mposite
parent) {
+ static CmsView getCmsView(Co
ntrol
parent) {
// find parent shell
Shell topShell = parent.getShell();
while (topShell.getParent() != null)
// find parent shell
Shell topShell = parent.getShell();
while (topShell.getParent() != null)