Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » searchAllTypeNames(..) no longer working in Eclipse 3
searchAllTypeNames(..) no longer working in Eclipse 3 [message #172561] Mon, 09 August 2004 22:42 Go to next message
Eclipse UserFriend
Hi,

This code used to work, but when I ran the same Eclipse 3,,,not sure why
the acceptClass() or acceptInterface() no longer get called. Thanks.

IJavaProject javaProject = JavaCore.create(project);
IJavaSearchScope scope = SearchEngine.createJavaSearchScope(new
IJavaElement[] {javaProject});


SearchEngine se = new SearchEngine();
se.searchAllTypeNames( null,null,
SearchPattern.R_PATTERN_MATCH,
IJavaSearchConstants.CLASS,
scope,
this, // implement ITypeNameRequestor
IJavaSearchConstants.FORCE_IMMEDIATE_SEARCH,
null);


//this is my ITypeNameRequestor implementation :
public void acceptClass(.......)
{
//never gets called
}

public void acceptInterface(........)
{
}
Re: searchAllTypeNames(..) no longer working in Eclipse 3 [message #172569 is a reply to message #172561] Mon, 09 August 2004 22:55 Go to previous message
Eclipse UserFriend
Originally posted by: olivier_thomannNO.ca.ibm.comSPAM

Le Mon, 09 Aug 2004 22:42:42 -0400, hvlam <hungvlam@hotmail.com> a
écrit :
>This code used to work, but when I ran the same Eclipse 3,,,not sure why
>the acceptClass() or acceptInterface() no longer get called. Thanks.
Open a bug report against JDT/Core with your code sample and we will
investigate.
Thanks,
--
Olivier
Previous Topic:Java Editor templates
Next Topic:accept key input in Composite Editor Part.
Goto Forum:
  


Current Time: Wed Jul 23 10:38:59 EDT 2025

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

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

Back to the top