package org.marketcetera.photon; import org.eclipse.jface.resource.ImageRegistry; import org.marketcetera.util.misc.ClassVersion; /* $License$ */ /** * Class to manage shared images that are held for the lifetime of the plug-in. * * @author <a href="mailto:will@marketcetera.com">Will Horn</a> * @version $Id: PhotonImages.java 16154 2012-07-14 16:34:05Z colin $ * @since 1.0.0 */ @ClassVersion("$Id: PhotonImages.java 16154 2012-07-14 16:34:05Z colin $")//$NON-NLS-1$ public class PhotonImages { // Shared images public static final String GREEN_LED = "GREEN_LED"; //$NON-NLS-1$ public static final String RED_LED = "RED_LED"; //$NON-NLS-1$ public static final String GRAY_LED = "GRAY_LED"; //$NON-NLS-1$ static void initializeSharedImages(ImageRegistry reg) { reg.put(GREEN_LED, PhotonPlugin.getImageDescriptor("icons/other/greenled.gif")); //$NON-NLS-1$ reg.put(RED_LED, PhotonPlugin.getImageDescriptor("icons/other/redled.gif")); //$NON-NLS-1$ reg.put(GRAY_LED, PhotonPlugin.getImageDescriptor("icons/other/grayled.gif")); //$NON-NLS-1$ } }