]> git.argeo.org Git - lgpl/argeo-commons.git/blobdiff - eclipse/org.argeo.cms.swt/src/org/argeo/cms/swt/CmsSwtTheme.java
Refactor CMS UX API
[lgpl/argeo-commons.git] / eclipse / org.argeo.cms.swt / src / org / argeo / cms / swt / CmsSwtTheme.java
index b5f7c0e4d4edd2d66a93564f20744426d485b7fc..7669b1554df2872954788e095ca645b9dafaedf3 100644 (file)
@@ -1,12 +1,13 @@
 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
@@ -18,4 +19,7 @@ public interface CmsSwtTheme extends CmsTheme {
         */
        Image getIcon(String name, Integer preferredSize);
 
+       Image getSmallIcon(CmsIcon icon);
+       
+       Image getBigIcon(CmsIcon icon);
 }