UserPreferences userPreferences = getUserPreferences();
if (userPreferences instanceof FileUserPreferences) {
File [] applicationPluginsFolders = ((FileUserPreferences) userPreferences)
.getApplicationSubfolders(APPLICATION_PLUGINS_SUB_FOLDER);
// Create the plug-in manager that will search plug-in files in plugins folders
this.pluginManager = new PluginManager(applicationPluginsFolders);
}
} catch (IOException ex) {
}
this.pluginManagerInitialized = true;
}