]>
git.argeo.org Git - gpl/argeo-suite.git/blob - org/argeo/app/ui/openlayers/OLMap.java
1 package org
.argeo
.app
.ui
.openlayers
;
3 import org
.argeo
.cms
.swt
.CmsSwtUtils
;
4 import org
.eclipse
.swt
.SWT
;
5 import org
.eclipse
.swt
.widgets
.Composite
;
6 import org
.eclipse
.swt
.widgets
.Label
;
8 public class OLMap
extends Composite
{
11 public OLMap(Composite parent
, int style
) {
13 setLayout(CmsSwtUtils
.noSpaceGridLayout());
14 div
= new Label(this, SWT
.NONE
);
15 CmsSwtUtils
.markup(div
);
16 CmsSwtUtils
.disableMarkupValidation(div
);
17 div
.setText("<div id='map'></div>");
18 div
.setLayoutData(CmsSwtUtils
.fillAll());