Wrap methods that are not supported by RAP
@@ -1309,9 +1309,11 @@ public class ConditionEditor extends Canvas implements MouseMoveListener {
// Set the bar's parameters...
sbHorizontal.setMaximum(maxdrawn.width);
sbHorizontal.setMinimum(0);
+ if (!EnvironmentUtils.getInstance().isWeb()) {
sbHorizontal.setPageIncrement(size_widget.width);
sbHorizontal.setIncrement(10);
}
+ }
// Vertical scrollbar behavior
//
@@ -1325,10 +1327,12 @@ public class ConditionEditor extends Canvas implements MouseMoveListener {
// Set the bar's parameters...
sbVertical.setMaximum(maxdrawn.height);
sbVertical.setMinimum(0);
+ if (!EnvironmentUtils.getInstance().isWeb()) {
sbVertical.setPageIncrement(size_widget.height);
sbVertical.setIncrement(10);
}
}
+ }
public void addModifyListener(ModifyListener lsMod) {
modListeners.add(lsMod);
