} */
private void makeActions() {
action1 = new Action() {
public void run() {
Job job = new XMLJob(currentFile.getProject());
job.addJobChangeListener(new JobChangeAdapter() {
public void done(IJobChangeEvent event) {
Display.getDefault().asyncExec(new Runnable() {
public void run() {
//viewer.refresh();
//viewer.expandToLevel(2);
}
});
}
});
job.schedule();
}
};
action1.setText("From file");
action1.setToolTipText("Reads the analysis from file.");
action1.setImageDescriptor(PlatformUI.getWorkbench().getSharedImages()