Class UIHelper
java.lang.Object
org.dawnsci.ede.rcp.herebedragons.UIHelper
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.eclipse.swt.graphics.ColorconvertHexadecimalToColor(String hexadecimal, org.eclipse.swt.widgets.Display display) static StringconvertRGBToHexadecimal(org.eclipse.swt.graphics.RGB rgb) static org.eclipse.swt.layout.GridLayoutcreateGridLayoutWithNoMargin(int columns, boolean equal) static Stringstatic voidrevalidateLayout(org.eclipse.swt.widgets.Control control) static voidstatic voidshowWarning(String message, String reason)
-
Method Details
-
showError
-
showWarning
-
createGridLayoutWithNoMargin
public static org.eclipse.swt.layout.GridLayout createGridLayoutWithNoMargin(int columns, boolean equal) -
revalidateLayout
public static void revalidateLayout(org.eclipse.swt.widgets.Control control) -
convertHexadecimalToColor
public static org.eclipse.swt.graphics.Color convertHexadecimalToColor(String hexadecimal, org.eclipse.swt.widgets.Display display) throws NumberFormatException - Throws:
NumberFormatException
-
convertRGBToHexadecimal
-
getRandomColor
-