X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=org.argeo.cms.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Fui%2FCmsView.java;h=311d10fbe9d22f2c1db2db8e9f55d14a9db7a850;hb=8cb4b748ece8147b3d5b525939e78680450ae671;hp=b403a2088d33fbfcb703c49c1bdf11762eca4b6d;hpb=66dd22be4e93fec2554c65710ec5846a2f598c02;p=lgpl%2Fargeo-commons.git 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 b403a2088..311d10fbe 100644 --- 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 org.eclipse.swt.widgets.Composite; +import org.eclipse.swt.widgets.Control; import org.eclipse.swt.widgets.Shell; /** Provides interaction with the CMS system. */ @@ -56,7 +56,7 @@ public interface CmsView { } - static CmsView getCmsView(Composite parent) { + static CmsView getCmsView(Control parent) { // find parent shell Shell topShell = parent.getShell(); while (topShell.getParent() != null)