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/border/AbstractCSSPropertyBorderSWTHandler.java
AbstractCSSPropertySWTHandler implements ICSSPropertyHandler2Delegate {
	public void applyCSSProperty(Control control, String property,
			CSSValue value, String pseudo, CSSEngine engine) throws Exception {
		Composite parent = control.getParent();
		if (parent == null)
			return;
		CSSBorderProperties border = (CSSBorderProperties) control
				.getData(CSSSWTConstants.CONTROL_CSS2BORDER_KEY);
		if (border == null) {
			border = new CSSBorderPropertiesImpl();
			control.setData(CSSSWTConstants.CONTROL_CSS2BORDER_KEY, border);
			parent.addPaintListener(CSSSWTHelpers.createBorderPaintListener(engine, control));
		}
		super.applyCSSProperty(border, property, value, pseudo, engine);
	}
	public void applyCSSProperty(CSSBorderProperties border, String property,
			CSSValue value, String pseudo, CSSEngine engine) throws Exception {
		CSSBorderPropertiesHelpers.updateCSSProperty(border, property, value);
	}
	public ICSSPropertyHandler2 getCSSPropertyHandler2() {
		return CSSPropertyBorderSWTHandler2.INSTANCE;
	}
}