public void execute ( final Instance _instance ) throws EFapsException { UIClassification clazz = this ; while ( ! clazz . isRoot ( ) ) { clazz = clazz . getParent ( ) ; } clazz . initialized = true ; for ( final UIClassification child : clazz . getChildren ( ) ) { final Classification type = ( Classification ) Type . get ( child . getClassificationUUID ( ) ) ; if ( clazz . selectedUUID . contains ( child . getClassificationUUID ( ) ) ) { child . setSelected ( true ) ; } child . addChildren ( child , type . getChildClassifications ( ) , clazz . selectedUUID , _instance ) ; clazz . expand ( ) ; } }
Execute the model .