Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Extending Java Search Functionality From the Result View Toolbar
Extending Java Search Functionality From the Result View Toolbar [message #259576] Wed, 15 April 2009 22:59
Eclipse UserFriend
Originally posted by: codyh.vt.gmail.com

All,

I have a command contributing to the Search Results View toolbar. When
you select search results and hit the command's icon my handler
executes. Within my handler I can get a list of the selected items, get
the ISearchQuery representing the last query that was executed, but I
cannot get the QuerySpecification of the last query executed. I would
like to do some processing for the user based on the original query and
the selected query results but have no way to get the description of the
original query. Is there a way to do this without asking for it again
from the user? A listener out there or something? I've tried some rigged
classes/casting and some package manipulation to try and gain protected
access to the JavaSearchQuery (the Java search specific implementation
of ISearchQuery but protected via access restrictions) with no avail.

Any help would be appreciated.

Thanks,
C
Previous Topic:Generating a javadoc comment programmatically
Next Topic:Get Tab Size from Preferences
Goto Forum:
  


Current Time: Sun Apr 20 10:17:03 EDT 2025

Powered by FUDForum. Page generated in 0.04096 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top