Support for docbook image object.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / docbook / ui / DocBookSectionTitle.java
index fcde87546d8e4265c51ad2047d775ac3b639f1b2..61a91641e4550aba2bcae83a388004be6e551823 100644 (file)
@@ -1,7 +1,6 @@
 package org.argeo.docbook.ui;
 
 import javax.jcr.Node;
-import javax.jcr.Property;
 import javax.jcr.RepositoryException;
 
 import org.argeo.cms.text.TextSection;
@@ -21,6 +20,7 @@ public class DocBookSectionTitle extends EditableText implements EditablePart, N
                section = (TextSection) TextSection.findSection(this);
        }
 
+//     @Override
        public TextSection getSection() {
                return section;
        }
@@ -30,4 +30,21 @@ 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);
+//             control.setLayoutData(new GridData(SWT.LEAD, SWT.CENTER, true, false));
+//     }
+//
+//     @Override
+//     protected void setContainerLayoutData(Composite composite) {
+//             super.setContainerLayoutData(composite);
+//             composite.setLayoutData(new GridData(SWT.LEAD, SWT.BOTTOM, true, false));
+//     }
+
 }