import javax.jcr.Node;
-import org.argeo.cms.ui.CmsEditable;
-import org.argeo.cms.ui.util.CmsUiUtils;
+import org.argeo.api.cms.CmsEditable;
+import org.argeo.cms.swt.CmsSwtUtils;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
display = new Composite(parent, SWT.NONE);
display.setLayoutData(layoutData);
- CmsUiUtils.style(display, FormStyle.header.style());
+ CmsSwtUtils.style(display, FormStyle.header.style());
display.setBackgroundMode(SWT.INHERIT_FORCE);
- display.setLayout(CmsUiUtils.noSpaceGridLayout());
+ display.setLayout(CmsSwtUtils.noSpaceGridLayout());
publishBtn = createSimpleBtn(display, getPublishButtonLabel());
display.moveAbove(null);
private Button createSimpleBtn(Composite parent, String label) {
Button button = new Button(parent, SWT.FLAT | SWT.PUSH);
button.setText(label);
- CmsUiUtils.style(button, FormStyle.header.style());
+ CmsSwtUtils.style(button, FormStyle.header.style());
button.addSelectionListener(this);
return button;
}