Improve DocBook support.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / docbook / ui / CustomDbkEditor.java
1 package org.argeo.docbook.ui;
2
3 import javax.jcr.Node;
4
5 import org.argeo.cms.ui.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         protected CustomDbkEditor(Composite parent, int style, Node textNode, CmsEditable cmsEditable) {
17                 this(new Section(parent, style, textNode), style, cmsEditable);
18         }
19
20         protected CustomDbkEditor(Section parent, int style, CmsEditable cmsEditable) {
21                 super(parent, style, cmsEditable);
22         }
23
24 }