Support for docbook image object.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / cms / text / Paragraph.java
index 6ff42815f261c71d16ac171c5b09a2f4a832e1c3..cfd02728a9872f58a068c6ee503994ccf5d94afd 100644 (file)
@@ -4,25 +4,23 @@ import javax.jcr.Node;
 import javax.jcr.RepositoryException;
 
 import org.argeo.cms.ui.util.CmsUiUtils;
-import org.argeo.cms.ui.viewers.Section;
 import org.argeo.cms.ui.viewers.SectionPart;
 import org.argeo.cms.ui.widgets.EditableText;
 import org.argeo.cms.ui.widgets.TextStyles;
 
-/** An editable paragraph.*/
+/** An editable paragraph. */
 public class Paragraph extends EditableText implements SectionPart {
        private static final long serialVersionUID = 3746457776229542887L;
 
        private final TextSection section;
 
-       public Paragraph(TextSection section, int style, Node node)
-                       throws RepositoryException {
+       public Paragraph(TextSection section, int style, Node node) throws RepositoryException {
                super(section, style, node);
                this.section = section;
                CmsUiUtils.style(this, TextStyles.TEXT_PARAGRAPH);
        }
 
-       public Section getSection() {
+       public TextSection getSection() {
                return section;
        }