]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - argeo/cms/SimpleStaticPage.java
4 import javax
.jcr
.RepositoryException
;
6 import org
.eclipse
.rap
.rwt
.RWT
;
7 import org
.eclipse
.swt
.SWT
;
8 import org
.eclipse
.swt
.widgets
.Composite
;
9 import org
.eclipse
.swt
.widgets
.Control
;
10 import org
.eclipse
.swt
.widgets
.Label
;
12 public class SimpleStaticPage
implements CmsUiProvider
{
16 public Control
createUi(Composite parent
, Node context
)
17 throws RepositoryException
{
18 Label textC
= new Label(parent
, SWT
.WRAP
);
19 textC
.setData(RWT
.CUSTOM_VARIANT
, CmsStyles
.CMS_STATIC_TEXT
);
20 textC
.setData(RWT
.MARKUP_ENABLED
, Boolean
.TRUE
);
26 public void setText(String text
) {