PTP
Release 7.0

org.eclipse.ptp.services.ui
Class ServiceModelImages

java.lang.Object
  extended by org.eclipse.ptp.services.ui.ServiceModelImages

public class ServiceModelImages
extends java.lang.Object


Field Summary
static java.net.URL ICON_URL
           
static java.lang.String IMG_SERVICE
           
static java.lang.String IMG_SERVICE_CATEGORY
           
static java.lang.String IMG_SERVICE_DISABLED
           
 
Constructor Summary
ServiceModelImages()
           
 
Method Summary
static ImageDescriptor createImageDescriptor(java.net.URL iconURL, java.lang.String key, java.lang.String name)
          Create an image descriptor and add it to the registry
static Image getImage(java.lang.String key)
          Get image from the registry
static ImageDescriptor getImageDescriptor(java.lang.String key)
          Get image descriptor from the registry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ICON_URL

public static final java.net.URL ICON_URL

IMG_SERVICE

public static final java.lang.String IMG_SERVICE
See Also:
Constant Field Values

IMG_SERVICE_CATEGORY

public static final java.lang.String IMG_SERVICE_CATEGORY
See Also:
Constant Field Values

IMG_SERVICE_DISABLED

public static final java.lang.String IMG_SERVICE_DISABLED
See Also:
Constant Field Values
Constructor Detail

ServiceModelImages

public ServiceModelImages()
Method Detail

createImageDescriptor

public static ImageDescriptor createImageDescriptor(java.net.URL iconURL,
                                                    java.lang.String key,
                                                    java.lang.String name)
Create an image descriptor and add it to the registry

Parameters:
iconURL - url for image
key - image name
name - file name of image
Returns:
image descriptor for image

getImage

public static Image getImage(java.lang.String key)
Get image from the registry

Parameters:
key - image name
Returns:
image

getImageDescriptor

public static ImageDescriptor getImageDescriptor(java.lang.String key)
Get image descriptor from the registry

Parameters:
key - image name
Returns:
image descriptor

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.