package org.argeo.cms.internal.text;
import static javax.jcr.Property.JCR_TITLE;
-import static org.argeo.cms.CmsUtils.fillWidth;
+import static org.argeo.cms.util.CmsUtils.fillWidth;
import java.util.ArrayList;
import java.util.Iterator;
import org.argeo.cms.CmsNames;
import org.argeo.cms.CmsSession;
import org.argeo.cms.CmsTypes;
-import org.argeo.cms.CmsUtils;
-import org.argeo.cms.IdentityTextInterpreter;
-import org.argeo.cms.TextInterpreter;
+import org.argeo.cms.text.IdentityTextInterpreter;
import org.argeo.cms.text.Img;
import org.argeo.cms.text.Paragraph;
+import org.argeo.cms.text.TextInterpreter;
import org.argeo.cms.text.TextSection;
+import org.argeo.cms.util.CmsUtils;
import org.argeo.cms.viewers.AbstractPageViewer;
import org.argeo.cms.viewers.EditablePart;
import org.argeo.cms.viewers.NodePart;
}
}
- private EditablePart findDataParent(Control parent) {
- if (parent instanceof EditablePart) {
- return (EditablePart) parent;
- }
- if (parent.getParent() != null)
- return findDataParent(parent.getParent());
- else
- throw new CmsException("No data parent found");
- }
-
@Override
public void mouseUp(MouseEvent e) {
}