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%2FSectionTitle.java;fp=publishing%2Forg.argeo.publishing.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Ftext%2FSectionTitle.java;h=0000000000000000000000000000000000000000;hp=1a67c11c58660a8cd7090d49ba47e4317182034a;hb=2824e4dce1c2239500f865efaac23f2880b12277;hpb=2c7baf5cc1437770abc7df32e29e3c9ca29b7132 diff --git a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/SectionTitle.java b/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/SectionTitle.java deleted file mode 100644 index 1a67c11..0000000 --- a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/SectionTitle.java +++ /dev/null @@ -1,39 +0,0 @@ -package org.argeo.cms.text; - -import javax.jcr.Property; -import javax.jcr.RepositoryException; - -import org.argeo.cms.ui.viewers.EditablePart; -import org.argeo.cms.ui.viewers.PropertyPart; -import org.argeo.cms.ui.widgets.EditableText; -import org.eclipse.swt.widgets.Composite; - -/** The title of a section. */ -@Deprecated -public class SectionTitle extends EditableText implements EditablePart, - PropertyPart { - private static final long serialVersionUID = -1787983154946583171L; - - private final TextSection section; - - public SectionTitle(Composite parent, int swtStyle, Property title) - throws RepositoryException { - super(parent, swtStyle, title); - section = (TextSection) TextSection.findSection(this); - } - - public TextSection getSection() { - return section; - } - - // @Override - // public Property getProperty() throws RepositoryException { - // return getSection().getNode().getProperty(Property.JCR_TITLE); - // } - - @Override - public Property getItem() throws RepositoryException { - return getProperty(); - } - -}