X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=publishing%2Forg.argeo.publishing.ui%2Fsrc%2Forg%2Fargeo%2Fdocbook%2Fui%2FDbkSectionTitle.java;fp=publishing%2Forg.argeo.publishing.ui%2Fsrc%2Forg%2Fargeo%2Fdocbook%2Fui%2FDbkSectionTitle.java;h=0000000000000000000000000000000000000000;hp=92fd2b8e1e3aafbfd4747316c01581ea62856d4a;hb=3440f51df3e4c015972c7b6a0efb3ce16188b89b;hpb=752a7b2614895002a3d184be166ef4162caf0d05 diff --git a/publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/DbkSectionTitle.java b/publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/DbkSectionTitle.java deleted file mode 100644 index 92fd2b8..0000000 --- a/publishing/org.argeo.publishing.ui/src/org/argeo/docbook/ui/DbkSectionTitle.java +++ /dev/null @@ -1,30 +0,0 @@ -package org.argeo.docbook.ui; - -import javax.jcr.Node; -import javax.jcr.RepositoryException; - -import org.argeo.cms.ui.viewers.EditablePart; -import org.argeo.cms.ui.viewers.NodePart; -import org.argeo.cms.ui.widgets.EditableText; -import org.eclipse.swt.widgets.Composite; - -/** The title of a section, based on an XML text node. */ -public class DbkSectionTitle extends EditableText implements EditablePart, NodePart { - private static final long serialVersionUID = -1787983154946583171L; - - private final TextSection section; - - public DbkSectionTitle(Composite parent, int swtStyle, Node titleNode) throws RepositoryException { - super(parent, swtStyle, titleNode); - section = (TextSection) TextSection.findSection(this); - } - - public TextSection getSection() { - return section; - } - - @Override - public Node getItem() throws RepositoryException { - return getNode(); - } -}