X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=publishing%2Forg.argeo.publishing.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Ftext%2FParagraph.java;h=cfd02728a9872f58a068c6ee503994ccf5d94afd;hp=6ff42815f261c71d16ac171c5b09a2f4a832e1c3;hb=06db6a211a46ba994d007e30f62704165c413177;hpb=4f4e2b4985cc4cc910da83398e8a9cd37645ef9c diff --git a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/Paragraph.java b/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/Paragraph.java index 6ff4281..cfd0272 100644 --- a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/Paragraph.java +++ b/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/Paragraph.java @@ -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; }