Support for docbook image object.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / docbook / ui / DocBookSectionTitle.java
index 1ece09e9db99e31798b272dbbf72b322170c485d..61a91641e4550aba2bcae83a388004be6e551823 100644 (file)
@@ -1,17 +1,13 @@
 package org.argeo.docbook.ui;
 
 import javax.jcr.Node;
-import javax.jcr.Property;
 import javax.jcr.RepositoryException;
 
 import org.argeo.cms.text.TextSection;
 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.SWT;
-import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
 
 /** The title of a section, based on an XML text node. */
 public class DocBookSectionTitle extends EditableText implements EditablePart, NodePart {
@@ -24,6 +20,7 @@ public class DocBookSectionTitle extends EditableText implements EditablePart, N
                section = (TextSection) TextSection.findSection(this);
        }
 
+//     @Override
        public TextSection getSection() {
                return section;
        }
@@ -33,6 +30,11 @@ public class DocBookSectionTitle extends EditableText implements EditablePart, N
                return getNode();
        }
 
+//     @Override
+//     public String getPartId() {
+//             return getNodeId();
+//     }
+
 //     @Override
 //     protected void setControlLayoutData(Control control) {
 //             super.setControlLayoutData(control);