connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/ui/ConnectionUIUtils.java
changeset 2028 ff6b4aae1c1e
parent 981 77bc8173ce83
child 2038 dd457404f42f
equal deleted inserted replaced
2027:2a1cbc6a1c85 2028:ff6b4aae1c1e
    18 package com.nokia.carbide.remoteconnections.internal.ui;
    18 package com.nokia.carbide.remoteconnections.internal.ui;
    19 
    19 
    20 import java.util.Collection;
    20 import java.util.Collection;
    21 
    21 
    22 import org.eclipse.jface.resource.ImageDescriptor;
    22 import org.eclipse.jface.resource.ImageDescriptor;
       
    23 import org.eclipse.jface.resource.JFaceColors;
    23 import org.eclipse.swt.graphics.Color;
    24 import org.eclipse.swt.graphics.Color;
    24 import org.eclipse.swt.graphics.Image;
    25 import org.eclipse.swt.graphics.Image;
    25 import org.eclipse.swt.widgets.Display;
    26 import org.eclipse.swt.widgets.Display;
    26 
    27 
    27 import com.nokia.carbide.remoteconnections.RemoteConnectionsActivator;
    28 import com.nokia.carbide.remoteconnections.RemoteConnectionsActivator;
    74 	
    75 	
    75 	public static final Color COLOR_RED = new Color(Display.getDefault(), 192, 0, 0);
    76 	public static final Color COLOR_RED = new Color(Display.getDefault(), 192, 0, 0);
    76 	public static final Color COLOR_GREEN = new Color(Display.getDefault(), 0, 128, 0);
    77 	public static final Color COLOR_GREEN = new Color(Display.getDefault(), 0, 128, 0);
    77 	public static final Color COLOR_ELECTRIC = new Color(Display.getDefault(), 0, 0, 255);
    78 	public static final Color COLOR_ELECTRIC = new Color(Display.getDefault(), 0, 0, 255);
    78 	public static final Color COLOR_GREY = new Color(Display.getDefault(), 96, 96, 96);
    79 	public static final Color COLOR_GREY = new Color(Display.getDefault(), 96, 96, 96);
       
    80 	public static final Color COLOR_HYPERLINK = JFaceColors.getHyperlinkText(Display.getDefault());
    79 	
    81 	
    80 	/**
    82 	/**
    81 	 * Get the image representing the connection status.
    83 	 * Get the image representing the connection status.
    82 	 * @param connection
    84 	 * @param connection
    83 	 * @return Image, not to be disposed
    85 	 * @return Image, not to be disposed