Пример #1
0
  @Override
  public boolean stopCellEditing() {

    try {
      if (editGeo.isIndependent()) {
        editGeo.setValue(checkBox.isSelected());
        editGeo.updateCascade();
      }
      // app.storeUndoInfo();

    } catch (Exception ex) {
      ex.printStackTrace();
      super.stopCellEditing();
      editing = false;
      return false;
    }

    editing = false;
    return super.stopCellEditing();
  }
Пример #2
0
 @Override
 public void compute() {
   pi.updateCoords2D();
   result.setValue(region.isInRegion(pi.getX2D(), pi.getY2D()));
 }