Package com.iizigo.ws
Class PluginApplicationUI
- java.lang.Object
- com.iizigo.ws.PluginApplicationUI
 
- public class PluginApplicationUI extends java.lang.ObjectThe Plug-in ApplicationUI instance holds the various images loaded from Image Descriptors and can be used as SWT Images directly, as well as other SWT allocated object such as colors.- Author:
- Christopher Mindus
 
- Field Summary- Fields - Modifier and Type - Field - Description - org.eclipse.swt.graphics.Image- imageArray- org.eclipse.swt.graphics.Image- imageBoolean- org.eclipse.swt.graphics.Image- imageFlag- org.eclipse.swt.graphics.Image- imageInputVariable- org.eclipse.swt.graphics.Image- imageJSON- org.eclipse.swt.graphics.Image- imageNull- org.eclipse.swt.graphics.Image- imageNumber- org.eclipse.swt.graphics.Image- imageObject- org.eclipse.swt.graphics.Image- imageOuptutColumnIdentification- org.eclipse.swt.graphics.Image- imageOuptutVariableIdentification- org.eclipse.swt.graphics.Image- imageOutputColumn- org.eclipse.swt.graphics.Image- imageOutputTable- org.eclipse.swt.graphics.Image- imageOutputVariable- org.eclipse.swt.graphics.Image- imageReply- org.eclipse.swt.graphics.Image- imageReplyProcessor- org.eclipse.swt.graphics.Image- imageRequest- org.eclipse.swt.graphics.Image- imageRun- org.eclipse.swt.graphics.Image- imageString- org.eclipse.swt.graphics.Image- imageURL- org.eclipse.swt.graphics.Image- imageVariables- org.eclipse.swt.graphics.Image- imageWebService- org.eclipse.swt.graphics.Image- imageWebServiceActor
 - Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - org.eclipse.swt.graphics.Image- getImage(java.lang.String fileName)Gets an Image from a file name.- org.eclipse.swt.graphics.Image- getImage(org.eclipse.jface.resource.ImageDescriptor descriptor)Loads the image for an Image Descriptor and caches it.- static PluginApplicationUI- getInstance()Gets the instance of the ApplicationUI.
 
- Field Detail- imageWebService- public final org.eclipse.swt.graphics.Image imageWebService 
 - imageWebServiceActor- public final org.eclipse.swt.graphics.Image imageWebServiceActor 
 - imageRequest- public final org.eclipse.swt.graphics.Image imageRequest 
 - imageReply- public final org.eclipse.swt.graphics.Image imageReply 
 - imageInputVariable- public final org.eclipse.swt.graphics.Image imageInputVariable 
 - imageRun- public final org.eclipse.swt.graphics.Image imageRun 
 - imageJSON- public final org.eclipse.swt.graphics.Image imageJSON 
 - imageURL- public final org.eclipse.swt.graphics.Image imageURL 
 - imageReplyProcessor- public final org.eclipse.swt.graphics.Image imageReplyProcessor 
 - imageVariables- public final org.eclipse.swt.graphics.Image imageVariables 
 - imageBoolean- public final org.eclipse.swt.graphics.Image imageBoolean 
 - imageNumber- public final org.eclipse.swt.graphics.Image imageNumber 
 - imageString- public final org.eclipse.swt.graphics.Image imageString 
 - imageArray- public final org.eclipse.swt.graphics.Image imageArray 
 - imageObject- public final org.eclipse.swt.graphics.Image imageObject 
 - imageNull- public final org.eclipse.swt.graphics.Image imageNull 
 - imageFlag- public final org.eclipse.swt.graphics.Image imageFlag 
 - imageOutputVariable- public final org.eclipse.swt.graphics.Image imageOutputVariable 
 - imageOutputTable- public final org.eclipse.swt.graphics.Image imageOutputTable 
 - imageOutputColumn- public final org.eclipse.swt.graphics.Image imageOutputColumn 
 - imageOuptutVariableIdentification- public final org.eclipse.swt.graphics.Image imageOuptutVariableIdentification 
 - imageOuptutColumnIdentification- public final org.eclipse.swt.graphics.Image imageOuptutColumnIdentification 
 
 - Method Detail- getInstance- public static PluginApplicationUI getInstance() Gets the instance of the ApplicationUI. The first time this is done, it must be from the SWT thread, otherwise an InternalError is thrown.- Returns:
- The singleton.
 
 - getImage- public org.eclipse.swt.graphics.Image getImage(java.lang.String fileName) Gets an Image from a file name.- Parameters:
- fileName- The file name loads a descriptor from the "icons" folder.
- Returns:
- The image, or null if not found.
 
 - getImage- public org.eclipse.swt.graphics.Image getImage(org.eclipse.jface.resource.ImageDescriptor descriptor) Loads the image for an Image Descriptor and caches it. It will be disposed of when the plug-in exits.- Parameters:
- descriptor- The Image Descriptor or null if none.
- Returns:
- The image created, null for none or when Image Descriptor is null.