if (box == null) {
return;
}
// TODO taken from CalculatedStyle, but shouldn't really
FSDerivedValue value = box.getStyle().valueByName(CSSName.CURSOR);
int cursor = SWT.CURSOR_ARROW;
if (value == IdentValue.AUTO || value == IdentValue.DEFAULT) {
cursor = SWT.CURSOR_ARROW;
} else if (value == IdentValue.CROSSHAIR) {