result.add(new SCLIssuesTableEntry(moduleName, error) {
@Override
public void openLocation() {
- OpenSCLDefinition.openDefinition(moduleName, error.location);
+ OpenSCLDefinition.scheduleOpenDefinition(moduleName, error.location);
}
});
}
Object selection = ((StructuredSelection)event.getSelection()).getFirstElement();
if (selection != null) {
SymbolReference reference = (SymbolReference) selection;
- OpenSCLDefinition.openDefinition(reference.referrer.module, reference.referenceLocation);
+ OpenSCLDefinition.scheduleOpenDefinition(reference.referrer.module, reference.referenceLocation);
}
}