use of org.talend.repository.ui.wizards.exportjob.extrachecker.ExtraBuildChecker in project tdi-studio-se by Talend.
the class JavaJobScriptsExportWSWizardPagePresenter method initExtraCheckersFromExtensionPoint.
/**
* Inits the extra checkers from plugin extension
* <code>org.talend.repository.ui.wizards.exportjob.extraBuildChecker</code>
*/
private void initExtraCheckersFromExtensionPoint() {
IExtension[] extensions = Platform.getExtensionRegistry().getExtensionPoint(EXTENSION_EXTRA_BUILD_CHECKER).getExtensions();
for (IExtension extension : extensions) {
IConfigurationElement[] eles = extension.getConfigurationElements();
for (IConfigurationElement ele : eles) {
try {
ExtraBuildChecker checker = (ExtraBuildChecker) ele.createExecutableExtension(EXTRA_BUILD_CHECKER);
addExtraChecker(checker);
} catch (CoreException e) {
ExceptionHandler.process(new RuntimeException("Can't load extra Job Build checker - " + ele, e));
}
}
}
}
Aggregations