1 package org
.argeo
.suite
.ui
;
6 import javax
.jcr
.RepositoryException
;
8 import org
.argeo
.cms
.ui
.CmsUiProvider
;
9 import org
.argeo
.cms
.ui
.util
.CmsUiUtils
;
10 import org
.eclipse
.swt
.SWT
;
11 import org
.eclipse
.swt
.widgets
.Composite
;
12 import org
.eclipse
.swt
.widgets
.Control
;
13 import org
.osgi
.framework
.BundleContext
;
15 /** Footer of a standard Argeo Suite application. */
16 public class DefaultFooter
implements CmsUiProvider
{
18 public Control
createUi(Composite parent
, Node context
) throws RepositoryException
{
19 parent
.setLayout(CmsUiUtils
.noSpaceGridLayout());
20 Composite content
= new Composite(parent
, SWT
.NONE
);
21 Control contentControl
= createContent(content
, context
);
23 // TODO support and guarantee
25 return contentControl
;
28 protected Control
createContent(Composite parent
, Node context
) throws RepositoryException
{
32 public void init(BundleContext bundleContext
, Map
<String
, String
> properties
) {
35 public void destroy(BundleContext bundleContext
, Map
<String
, String
> properties
) {