public void loadPlugins() { // Load Internal First loadPlugins(_internalPluginsDirectory); // Do not load plugins again, if internal and maindir are referencing // same directory if (!isCanonicalPathEqual(_externalPluginsDirectory, _internalPluginsDirectory)) { loadPlugins(_externalPluginsDirectory); } // Call onLoad everywhere callOnLoadInPlugins(); if (_pluginerror.errorsOccured()) { _pluginerror.show(); } }
private void putErrorInController(String name, Throwable t) { _pluginerror.insertError(name, t); }