connectivity/com.nokia.carbide.remoteConnections/src/com/nokia/carbide/remoteconnections/internal/ui/ConnectionUIUtils.java
equal
deleted
inserted
replaced
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 |