private void initAllExtension ( double progressFactor ) { double factorPerc = progressFactor / getExtensionCount ( ) ; for ( int i = 0 ; i < getExtensionCount ( ) ; i ++ ) { Extension extension = getExtension ( i ) ; try { extension . init ( ) ; extension . databaseOpen ( Model . getSingleton ( ) . getDb ( ) ) ; if ( view != null ) { view . addSplashScreenLoadingCompletion ( factorPerc ) ; } } catch ( Throwable e ) { logExtensionInitError ( extension , e ) ; } } }
Init all extensions