private void updateButtonState(GeometryTypeEnum geometryType){
  boolean applyTransformEnabled=false;
switch (geometryType) {
case POINT:
case LINE:
case POLYGON:
    applyTransformEnabled=true;
  break;
case RASTER:
break;
default :
break;
}
if (applyTransformationCheckBox != null) {
applyTransformationCheckBox.setEnabled(applyTransformEnabled);
}
}

private void updateButtonState ( GeometryTypeEnum geometryType ) { boolean applyTransformEnabled = false ; switch ( geometryType ) { case POINT : case LINE : case POLYGON : applyTransformEnabled = true ; break ; case RASTER : break ; default : break ; } if ( applyTransformationCheckBox != null ) { applyTransformationCheckBox . setEnabled ( applyTransformEnabled ) ; } }
update button state according to the selected symbol type .
