当我尝试在我的代码中使用 OpenTypeSelectionDialog 时,为什么会收到此错误“OpenTypeSelectionDialog 无法解析为类型”?
这是代码:
Shell sParent = JavaPlugin.getActiveWorkbenchShell();
SelectionDialog dialog = new OpenTypeSelectionDialog(sParent, true,
PlatformUI.getWorkbench().getProgressService(),null, IJavaSearchConstants.TYPE);