爲什麼當我嘗試在我的代碼中使用OpenTypeSelectionDialog時,出現此錯誤「OpenTypeSelectionDialog無法解析爲類型」?OpenTypeSelectionDialog無法解析爲某種類型
下面的代碼:
Shell sParent = JavaPlugin.getActiveWorkbenchShell();
SelectionDialog dialog = new OpenTypeSelectionDialog(sParent, true,
PlatformUI.getWorkbench().getProgressService(),null, IJavaSearchConstants.TYPE);
謝謝。這非常有幫助 – shiyamhoda