use of org.talend.designer.components.exchange.jobs.ModifyExtensionJob in project tdi-studio-se by Talend.
the class ModifyExtensionAction method run.
public void run() {
try {
final ModifyExtensionJob job = new ModifyExtensionJob(ExchangeManager.getInstance().getSelectedExtension());
job.addJobChangeListener(new JobChangeAdapter() {
@Override
public void done(final IJobChangeEvent event) {
Display.getDefault().asyncExec(new Runnable() {
public void run() {
updateUI(job, event);
}
});
}
});
ExchangeUtils.scheduleUserJob(job);
} catch (Throwable e) {
ExceptionHandler.process(e);
}
}
Aggregations