package org.argeo.cms.swt;
-import org.argeo.api.cms.CmsTheme;
+import org.argeo.api.cms.ux.CmsIcon;
+import org.argeo.api.cms.ux.CmsTheme;
import org.eclipse.swt.graphics.Image;
/** SWT specific {@link CmsTheme}. */
public interface CmsSwtTheme extends CmsTheme {
- /** The image registered at this path, or <code>null</code> if not found. */
- Image getImage(String path);
+// /** The image registered at this path, or <code>null</code> if not found. */
+// Image getImage(String path);
/**
* And icon with this file name (without the extension), with a best effort to
*/
Image getIcon(String name, Integer preferredSize);
+ Image getSmallIcon(CmsIcon icon);
+
+ Image getBigIcon(CmsIcon icon);
}