Introduce admin header and Reload App
[lgpl/argeo-commons.git] / org.argeo.cms / src / org / argeo / cms / util / SimpleErgonomics.java
index 2555cade56338141a39b6d142acedf39cf5c9b89..e7192af0f37a70e41357c82c277f915144a18e63 100644 (file)
@@ -34,7 +34,6 @@ public class SimpleErgonomics extends AbstractCmsEntryPoint {
        private Integer headerHeight = 40;
 
        private CmsImageManager imageManager = new ImageManagerImpl();
-
        private UxContext uxContext = null;
 
        public SimpleErgonomics(Repository repository, String workspace,
@@ -49,6 +48,7 @@ public class SimpleErgonomics extends AbstractCmsEntryPoint {
                parent.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
                parent.setLayout(CmsUtils.noSpaceGridLayout());
 
+               // createAdminArea(parent);
                headerArea = new Composite(parent, SWT.NONE);
                headerArea.setLayout(new FillLayout());
                GridData headerData = new GridData(SWT.FILL, SWT.FILL, false, false);
@@ -76,6 +76,9 @@ public class SimpleErgonomics extends AbstractCmsEntryPoint {
                        log.trace("UI refreshed " + getNode());
        }
 
+       protected void createAdminArea(Composite parent) {
+       }
+
        protected void refreshHeader() {
                for (Control child : headerArea.getChildren())
                        child.dispose();