void disconnectSubTask ( SubProgressionModel subTask , double value , boolean overwriteComment ) { if ( this . child == subTask ) { if ( overwriteComment ) { final String cmt = subTask . getComment ( ) ; if ( cmt != null ) { this . comment = cmt ; } } this . child = null ; setProperties ( value , this . min , this . max , this . isAdjusting , this . comment , overwriteComment , true , false , null ) ; } }
Set the parent value and disconnect this subtask from its parent . This method is invoked from a subtask .