Lines 64-69
Link Here
|
64 |
import org.eclipse.ui.internal.actions.NewWizardShortcutAction; |
64 |
import org.eclipse.ui.internal.actions.NewWizardShortcutAction; |
65 |
import org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog; |
65 |
import org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog; |
66 |
import org.eclipse.ui.internal.keys.BindingService; |
66 |
import org.eclipse.ui.internal.keys.BindingService; |
|
|
67 |
import org.eclipse.ui.internal.progress.ProgressManagerUtil; |
67 |
import org.eclipse.ui.keys.IBindingService; |
68 |
import org.eclipse.ui.keys.IBindingService; |
68 |
import org.eclipse.ui.views.IViewDescriptor; |
69 |
import org.eclipse.ui.views.IViewDescriptor; |
69 |
import org.eclipse.ui.wizards.IWizardCategory; |
70 |
import org.eclipse.ui.wizards.IWizardCategory; |
Lines 109-115
Link Here
|
109 |
if (window == null) { |
110 |
if (window == null) { |
110 |
return null; |
111 |
return null; |
111 |
} |
112 |
} |
112 |
FilteringInfoPopup popup = new MyInfoPopup(window.getShell(), commands); |
113 |
FilteringInfoPopup popup = new MyInfoPopup(ProgressManagerUtil.getDefaultParent(), commands); |
113 |
popup.setInput(new Object()); |
114 |
popup.setInput(new Object()); |
114 |
TreeItem[] rootItems = ((Tree) popup.getTreeViewer().getControl()) |
115 |
TreeItem[] rootItems = ((Tree) popup.getTreeViewer().getControl()) |
115 |
.getItems(); |
116 |
.getItems(); |