Support for docbook image object.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / cms / text / TextSection.java
index 4f514bf763c4ad380262e9eb40c0863409c5ef28..894a2cf240d073c384f9d70f64789bca6bdf59da 100644 (file)
@@ -3,12 +3,15 @@ package org.argeo.cms.text;
 import javax.jcr.Node;
 
 import org.argeo.cms.ui.util.CmsUiUtils;
+import org.argeo.cms.ui.viewers.EditablePart;
 import org.argeo.cms.ui.viewers.Section;
 import org.argeo.cms.ui.widgets.TextStyles;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Control;
 
-public class TextSection extends Section implements CmsNames {
+/** An editable section. */
+public class TextSection extends Section {
        private static final long serialVersionUID = -8625209546243220689L;
        private String defaultTextStyle = TextStyles.TEXT_DEFAULT;
        private String titleStyle;
@@ -28,7 +31,7 @@ public class TextSection extends Section implements CmsNames {
        private TextSection(Composite parent, Section parentSection, int style, Node node) {
                super(parent, parentSection, style, node);
                flat = SWT.FLAT == (style & SWT.FLAT);
-               //CmsUiUtils.style(this, TextStyles.TEXT_SECTION);
+               // CmsUiUtils.style(this, TextStyles.TEXT_SECTION);
        }
 
        public String getDefaultTextStyle() {
@@ -61,6 +64,5 @@ public class TextSection extends Section implements CmsNames {
 
        public void setTitleReadOnly(boolean titleReadOnly) {
                this.titleReadOnly = titleReadOnly;
-       }
-
+       }       
 }