logger.info( String.format( "Loading WIDGET components from: %s", WIDGETS_DIR ) );
List<IBasicFile> filesList = CdeEnvironment.getPluginRepositoryReader( WIDGETS_DIR ).listFiles( null,
new GenericBasicFileFilter( COMPONENT_FILENAME, DEFINITION_FILE_EXT ), IReadAccess.DEPTH_ALL, false, true );
PathOrigin widgetsOrigin = new PluginRepositoryOrigin( CdeEngine.getEnv().getPluginRepositoryDir(), WIDGETS_DIR );
if ( filesList != null ) {
logger.debug( String.format( "%s widget components found", filesList.size() ) );
IBasicFile[] filesArray = filesList.toArray( new IBasicFile[] { } );
Arrays.sort( filesArray, getComponentFileComparator() );