use of org.eclipse.ui.forms.FormColors in project webtools.sourceediting by eclipse.
the class SSEUIPlugin method getDialogsFormToolkit.
public FormToolkit getDialogsFormToolkit() {
if (fDialogsFormToolkit == null) {
FormColors colors = new FormColors(Display.getCurrent());
colors.setBackground(null);
colors.setForeground(null);
fDialogsFormToolkit = new FormToolkit(colors);
}
return fDialogsFormToolkit;
}
use of org.eclipse.ui.forms.FormColors in project eclipse-integration-commons by spring-projects.
the class UiUtil method getFormColors.
public static FormColors getFormColors(Display display) {
if (formColors == null) {
formColors = new FormColors(display);
formColors.markShared();
}
return formColors;
}
use of org.eclipse.ui.forms.FormColors in project erlide_eclipse by erlang.
the class ErlideUIPlugin method getDialogsFormToolkit.
public FormToolkit getDialogsFormToolkit() {
if (fDialogsFormToolkit == null) {
final FormColors colors = new FormColors(Display.getCurrent());
colors.setBackground(null);
colors.setForeground(null);
fDialogsFormToolkit = new FormToolkit(colors);
}
return fDialogsFormToolkit;
}
use of org.eclipse.ui.forms.FormColors in project xtext-eclipse by eclipse.
the class ScrolledPageContent method getFormToolkit.
private static FormToolkit getFormToolkit() {
if (toolkit == null) {
FormColors colors = new FormColors(Display.getCurrent());
colors.setBackground(null);
colors.setForeground(null);
toolkit = new FormToolkit(colors);
}
return toolkit;
}
use of org.eclipse.ui.forms.FormColors in project ITSTools by lip6.
the class ITSEditorPlugin method getFormColors.
/**
* returns form colors of a display (singleton factory)
*
* @param display
* the display
* @return the new formcolors or existing one
*/
public FormColors getFormColors(Display display) {
if (formColors == null) {
formColors = new FormColors(display);
formColors.markShared();
}
return formColors;
}
Aggregations