Major refactoring of Argeo CMS UI
[lgpl/argeo-commons.git] / org.argeo.cms.e4 / src / org / argeo / cms / e4 / maintenance / NonAdminPage.java
index 122f5cfaa590adb7602376991067b83d8bd7c594..cb38ce89925044f142ae8b2b2ce52f208826913c 100644 (file)
@@ -3,8 +3,8 @@ package org.argeo.cms.e4.maintenance;
 import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 
+import org.argeo.cms.swt.CmsSwtUtils;
 import org.argeo.cms.ui.CmsUiProvider;
-import org.argeo.cms.ui.util.CmsUiUtils;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
@@ -18,7 +18,7 @@ public class NonAdminPage implements CmsUiProvider{
        public Control createUi(Composite parent, Node context)
                        throws RepositoryException {
                Composite body = new Composite(parent, SWT.NO_FOCUS);
-               body.setLayoutData(CmsUiUtils.fillAll());
+               body.setLayoutData(CmsSwtUtils.fillAll());
                body.setLayout(new GridLayout());
                Label label = new Label(body, SWT.NONE);
                label.setText("You should be an admin to perform maintenance operations. "