Make DocBook support more coherent.
[gpl/argeo-suite.git] / publishing / org.argeo.publishing.ui / src / org / argeo / docbook / ui / DbkContextMenu.java
index a07a1cb5089a0ac4b6a9cde58bfade6d6228c7df..6046bf2c9ce5c537761c43101131dff5ba789268 100644 (file)
@@ -66,8 +66,8 @@ class DbkContextMenu {
                        insertMediaB(parent, img);
                        insertParagraphB(parent, DbkMsg.insertParagraph.lead(), img);
 
-               } else if (editablePart instanceof DocBookSectionTitle) {
-                       DocBookSectionTitle sectionTitle = (DocBookSectionTitle) editablePart;
+               } else if (editablePart instanceof DbkSectionTitle) {
+                       DbkSectionTitle sectionTitle = (DbkSectionTitle) editablePart;
                        TextSection section = sectionTitle.getSection();
                        if (!section.isTitleReadOnly()) {
                                Label deleteB = new Label(shell, SWT.NONE);