private void resolve(IModelElement element, IBundleResolver resolver, IProgressMonitor progress)
throws CoreException
{
final BundleGraph graph = new BundleGraph();
IResolutionMonitor monitor = new ResolutionMonitorAdapter(progress)
{
@Override
public void startResolution(IModelElement requirement)
{
graph.startResolution(requirement);