contextFile = fileNeedingContext.getPersistentProperty(new QualifiedName(
AbstractSection.PLUGIN_ID, AbstractSection.IMPORTABLE_PART_CONTEXT));
} catch (CoreException e) {
throw new InternalErrorCDE("unexpected exception", e);
}
ContextForPartDialog dialog = new ContextForPartDialog(PlatformUI.getWorkbench().getDisplay()
.getShells()[0], // ok in Eclipse 3.0
getFile().getProject().getParent(), thing, getFile().getLocation(), this, contextFile);
dialog.setTitle("File specifying context for editing importable part");
if (dialog.open() == Window.CANCEL)
throw new MultilevelCancel();
contextFile = dialog.contextPath;
if (null == contextFile) {