1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Patch for Andrew Niefer

UI:
Bug 43923 - Search: Results pane title missing Working Set's name
        - implement CSearchUtil.toString( IWorkingSet [] )
        * src/org/eclipse/cdt/internal/ui/search/CSearchUtil.java
This commit is contained in:
John Camelon 2003-09-30 18:25:50 +00:00
parent 3d6aba8db8
commit c4640566cb
2 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2003-09-30 Andrew Niefer
Bug 43923 - Search: Results pane title missing Working Set's name
- implement CSearchUtil.toString( IWorkingSet [] )
* src/org/eclipse/cdt/internal/ui/search/CSearchUtil.java
2003-09-30 Alain Magloire
PR 39339, a definition is missing the CPluginResource.properties file.

View file

@ -56,7 +56,17 @@ public class CSearchUtil {
* @return
*/
public static Object toString(IWorkingSet[] workingSets) {
// TODO Auto-generated method stub
if( workingSets != null & workingSets.length > 0 ){
String string = new String();
for( int i = 0; i < workingSets.length; i++ ){
if( i > 0 )
string += ", "; //$NON-NLS-1$
string += workingSets[i].getName();
}
return string;
}
return null;
}