X-Git-Url: https://git.argeo.org/?a=blobdiff_plain;f=eclipse%2Forg.argeo.cms.swt%2Fsrc%2Forg%2Fargeo%2Fcms%2Fswt%2FCmsSwtTheme.java;h=7669b1554df2872954788e095ca645b9dafaedf3;hb=f501c702ca60c656bc7eab24c2ed0d968a858903;hp=b5f7c0e4d4edd2d66a93564f20744426d485b7fc;hpb=8282011b0e20e80704b209ad55fa9fb132e16280;p=lgpl%2Fargeo-commons.git diff --git a/eclipse/org.argeo.cms.swt/src/org/argeo/cms/swt/CmsSwtTheme.java b/eclipse/org.argeo.cms.swt/src/org/argeo/cms/swt/CmsSwtTheme.java index b5f7c0e4d..7669b1554 100644 --- a/eclipse/org.argeo.cms.swt/src/org/argeo/cms/swt/CmsSwtTheme.java +++ b/eclipse/org.argeo.cms.swt/src/org/argeo/cms/swt/CmsSwtTheme.java @@ -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 null if not found. */ - Image getImage(String path); +// /** The image registered at this path, or null 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); }