Bug 279939 [CSS] Remove CSSSWTLazyHandlerEngineImpl and packages
There are no references to CSSSWTLazyHandlerEngineImpl, we don't ever instantiate the CSSSWTLazyHandlerEngineImpl, either in our examples or tests. Do we still need/want it? It brings with it the following packages which presumably would also be deleted: .registerPackage("org.eclipse.e4.ui.css.swt.properties.css2.lazy.classification"); .registerPackage("org.eclipse.e4.ui.css.swt.properties.css2.lazy.border"); .registerPackage("org.eclipse.e4.ui.css.swt.properties.css2.lazy.font"); .registerPackage("org.eclipse.e4.ui.css.swt.properties.css2.lazy.background"); .registerPackage("org.eclipse.e4.ui.css.swt.properties.css2.lazy.text");
bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/properties/css2/lazy/font/CSSPropertyFontSWTHandler2.java
public static final ICSSPropertyHandler2 INSTANCE = new CSSPropertyFontSWTHandler2();
	public void onAllCSSPropertiesApplyed(Object element, CSSEngine engine)
			throws Exception {
		final Control control = SWTElementHelpers.getControl(element);
		if (control == null)
			return;
		CSS2FontProperties fontProperties =CSSSWTFontHelper.getCSS2FontProperties(
				control, engine.getCSSElementContext(control));
		if (fontProperties == null)
			return;
		Font font = (Font) engine.convert(fontProperties, Font.class, control);
		control.setFont(font);
	}
}