public void notifyChange(
     IExpression expression, IContext context, String newValue, String oldValue) {
   try {
     ISliderWidgetFeature feature = xidget.getFeature(ISliderWidgetFeature.class);
     feature.setPrecision(Integer.parseInt(newValue));
   } catch (Exception e) {
   }
 }
 public void notifyValue(
     IExpression expression,
     IContext[] contexts,
     IModelObject object,
     Object newValue,
     Object oldValue) {
   if (object == node) {
     ISliderWidgetFeature feature = xidget.getFeature(ISliderWidgetFeature.class);
     feature.setPrecision(Xlate.get(object, 1));
   }
 }
 public void notifyChange(
     IExpression expression, IContext context, double newValue, double oldValue) {
   ISliderWidgetFeature feature = xidget.getFeature(ISliderWidgetFeature.class);
   feature.setPrecision((int) newValue);
 }
 public void notifyRemove(IExpression expression, IContext context, List<IModelObject> nodes) {
   node = expression.queryFirst(context);
   ISliderWidgetFeature feature = xidget.getFeature(ISliderWidgetFeature.class);
   feature.setPrecision(Xlate.get(node, 1));
 }
 public void notifyAdd(IExpression expression, IContext context, List<IModelObject> nodes) {
   node = nodes.get(0);
   ISliderWidgetFeature feature = xidget.getFeature(ISliderWidgetFeature.class);
   feature.setPrecision(Xlate.get(node, 1));
 }