]>
git.argeo.org Git - lgpl/argeo-commons.git/blob - editors/NodeRightsManagementPage.java
1 package org
.argeo
.jcr
.ui
.explorer
.editors
;
5 import org
.apache
.commons
.logging
.Log
;
6 import org
.apache
.commons
.logging
.LogFactory
;
7 import org
.eclipse
.swt
.SWT
;
8 import org
.eclipse
.swt
.layout
.GridLayout
;
9 import org
.eclipse
.swt
.widgets
.Label
;
10 import org
.eclipse
.ui
.forms
.IManagedForm
;
11 import org
.eclipse
.ui
.forms
.editor
.FormEditor
;
12 import org
.eclipse
.ui
.forms
.editor
.FormPage
;
13 import org
.eclipse
.ui
.forms
.widgets
.ScrolledForm
;
16 * This comments will be nicely fill by mbaudier in.
18 public class NodeRightsManagementPage
extends FormPage
{
19 private final static Log log
= LogFactory
.getLog(NodeRightsManagementPage
.class);
22 private Node currentNode
;
23 public NodeRightsManagementPage(FormEditor editor
, String title
, Node currentNode
) {
24 super(editor
, "NodeRightsManagementPage", title
);
25 this.currentNode
= currentNode
;
28 protected void createFormContent(IManagedForm managedForm
) {
30 ScrolledForm form
= managedForm
.getForm();
31 GridLayout twt
= new GridLayout(1, false);
32 twt
.marginWidth
= twt
.marginHeight
= 0;
33 form
.getBody().setLayout(twt
);
34 Label lbl
= new Label(form
.getBody(), SWT
.NONE
);
35 lbl
.setText("Implement this");
36 } catch (Exception e
) {