]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - org.argeo.cms.ui/src/org/argeo/cms/script/Html.java
1 package org
.argeo
.cms
.script
;
4 import javax
.jcr
.RepositoryException
;
6 import org
.argeo
.cms
.ui
.fm
.FmUiProvider
;
7 import org
.eclipse
.swt
.widgets
.Composite
;
8 import org
.eclipse
.swt
.widgets
.Control
;
11 private String template
;
14 private Control control
;
16 public Html(Composite parent
, String template
, Node context
) throws RepositoryException
{
17 this.template
= template
;
18 this.context
= context
;
19 this.control
= new FmUiProvider(this.template
).createUi(parent
, context
);
22 public Html(Composite parent
, String template
) throws RepositoryException
{
23 this(parent
, template
, null);
26 public String
getTemplate() {
30 public Node
getContext() {
34 public Control
getControl() {