private void setIsStepEnabled ( int step , boolean isEnabled ) { try { Object oRoadmapItem = m_xRMIndexCont . getByIndex ( step - 1 ) ; XPropertySet xRMItemPSet = ( XPropertySet ) UnoRuntime . queryInterface ( XPropertySet . class , oRoadmapItem ) ; xRMItemPSet . setPropertyValue ( "Enabled" , new Boolean ( isEnabled ) ) ; } catch ( com . sun . star . uno . Exception e ) { LOGGER . log ( Level . SEVERE , "Error in setIsStepEnabled" , e ) ; throw new CogrooRuntimeException ( e ) ; } }
Configure the steps that are enabled .