Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Applied [HEAD] Re: [cdt-patch] Refactor C++ Search result collecting

JohnC



Andrew Niefer/Ottawa/IBM@IBMCA 
Sent by: cdt-patch-admin@xxxxxxxxxxx
07/29/2003 05:09 PM
Please respond to
cdt-patch@xxxxxxxxxxx


To
cdt-patch@xxxxxxxxxxx
cc

Subject
[cdt-patch] Refactor C++ Search result collecting






This patch is a refactoring of the C++ search result collecting.

There are 2 new classes:
- BasicSearchMatch implements IMatch
- BasicSearchResultCollector implements ICSearchResultCollector

IMatch itself has been modified to reflect a minimum set of information 
that will be returned by the search.

The old CSearchResultCollector now extends BasicSearchResultCollector and 
the old Match is now gone.

The CSearchResultLabelProvider has been moved from 
org.eclipse.cdt.internal.ui.search  to  org.eclipse.cdt.ui, and it has 
been modified to reflect changes to IMatch.

The result of this is that anyone wishing to take advantage of the search 
engine (ie ClassWizard ) can now do it without implementing their own 
ICSearchResultCollector and IMatch objects.

-Andrew

[attachment "patch_07.29.03(cdt.ui).txt" deleted by John 
Camelon/Ottawa/IBM] [attachment "patch_07.29.03(cdt.core.tests).txt" 
deleted by John Camelon/Ottawa/IBM] [attachment 
"patch_07.29.03(cdt.core).txt" deleted by John Camelon/Ottawa/IBM] 



Back to the top