import org.argeo.entity.EntityType;
import org.argeo.jcr.Jcr;
import org.argeo.jcr.JcrUtils;
import org.argeo.entity.EntityType;
import org.argeo.jcr.Jcr;
import org.argeo.jcr.JcrUtils;
parent.setLayout(new GridLayout());
// parent.setLayout(CmsUiUtils.noSpaceGridLayout());
parent.setLayout(new GridLayout());
parent.setLayout(new GridLayout());
// parent.setLayout(CmsUiUtils.noSpaceGridLayout());
parent.setLayout(new GridLayout());
ToolBar bottomToolBar = new ToolBar(bottom, SWT.NONE);
bottomToolBar.setLayoutData(new GridData(SWT.END, SWT.FILL, true, false));
ToolItem deleteItem = new ToolItem(bottomToolBar, SWT.FLAT);
ToolBar bottomToolBar = new ToolBar(bottom, SWT.NONE);
bottomToolBar.setLayoutData(new GridData(SWT.END, SWT.FILL, true, false));
ToolItem deleteItem = new ToolItem(bottomToolBar, SWT.FLAT);
public void doubleClick(DoubleClickEvent event) {
Node node = (Node) entityViewer.getViewer().getStructuredSelection().getFirstElement();
if (node != null)
public void doubleClick(DoubleClickEvent event) {
Node node = (Node) entityViewer.getViewer().getStructuredSelection().getFirstElement();
if (node != null)
public void selectionChanged(SelectionChangedEvent event) {
Node node = (Node) entityViewer.getViewer().getStructuredSelection().getFirstElement();
if (node != null) {
public void selectionChanged(SelectionChangedEvent event) {
Node node = (Node) entityViewer.getViewer().getStructuredSelection().getFirstElement();
if (node != null) {
public void init(Map<String, String> properties) {
// TODO manage multiple entities
public void init(Map<String, String> properties) {
// TODO manage multiple entities