Community
Participate
Working Groups
build I20030605 With UI in source and rest in binary, search for all refs to org.eclipse.ui.views.tasks.TaskList. Among others, it matches: org.eclipse.pde.internal.ui.editor.manifest.AlertSection.checkMarkers (Composite, FormWidgetFactory) (2 matches) org.eclipse.pde.internal.ui.editor.manifest.AlertSection$1 Double-click on the match for AlertSection$1. It selects the corresponding import, which is not in a local class. Note that the match in checkMarkers is in a local class.
Can you explain which plug-ins/projects you consider "UI"?
I have the platform-ui module loaded, which contains source for: org.eclipse.jface org.eclipse.jface.text org.eclipse.text org.eclipse.ui org.eclipse.ui.editors org.eclipse.ui.views org.eclipse.ui.workbench org.eclipse.ui.workbench.texteditor In addition, I had the following projects in source: org.eclipse.ui.versioncheck (I've asked for this to be added to the module) org.eclipse.ui.examples.javaeditor org.eclipse.ui.examples.multipageeditor org.eclipse.ui.examples.propertysheet org.eclipse.ui.examples.readmetool org.eclipse.ui.tests
I assume that's a bug in the search engine. Instead of reporting an import declaration it returns a type as enclosing element while start/end matches the import declaration in the source.
I tried to reproduce this using a M1 drop (20030605) and never saw the match org.eclipse.pde.internal.ui.editor.manifest.AlertSection$1 Instead I saw a valid match to the import statement from AlertSection.java. Running the M1 workspace on top of M5 and trying the search again also worked fine.
Their code has changed. In M5, try searching for refs to org.eclipse.ui.views.markers.MarkerViewUtil.
Need PDE imported from binary to see it. The original match was found to a method in a local type. We answered the local type instead of the top-level type for the match to the import statement, since there no JavaElements for import statements in .class files.
Verified for 3.0 M6 with build I200312162000