]> git.argeo.org Git - gpl/argeo-suite.git/blob - swt/org.argeo.app.ui/src/org/argeo/app/ui/docbook/CustomDbkEditor.java
Prepare refactoring suite UX
[gpl/argeo-suite.git] / swt / org.argeo.app.ui / src / org / argeo / app / ui / docbook / CustomDbkEditor.java
1 package org.argeo.app.ui.docbook;
2
3 import javax.jcr.Node;
4
5 import org.argeo.api.cms.ux.CmsEditable;
6 import org.argeo.cms.ui.viewers.Section;
7 import org.eclipse.swt.widgets.Composite;
8
9 /**
10 * Manages hardcoded sections as an arbitrary hierarchy under the main section,
11 * which contains no text and no title.
12 */
13 public class CustomDbkEditor extends AbstractDbkViewer {
14 private static final long serialVersionUID = 656302500183820802L;
15
16 public CustomDbkEditor(Composite parent, int style, Node textNode, CmsEditable cmsEditable) {
17 this(new Section(parent, style, textNode), style, cmsEditable);
18 }
19
20 public CustomDbkEditor(Section parent, int style, CmsEditable cmsEditable) {
21 super(parent, style, cmsEditable);
22 }
23 }