Re: [mdr-users] Does JavaClass.getReferences() support a ProgressListener?

Martin Matula <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.mdr.user
Message-ID <[email protected]>
Hi Richard,
I really recommend to ask this kind of questions (related to java 
metamodel and refactoring) at [email protected] rather than 
this mailing list. There are more people at that mailing list that can 
help you. This mailing list is more about MOF, UML, MDR and JMI in general.

For listening on progress events for javacore operations (such as 
getReferences()) you can register your listeners using 
JavaMetamodel.getManager().getProgressSupport().addProgressListener().
Regards,
Martin

Richard Kennard wrote:

>Dear All,
>
>I have recently switched from using a 'WhereUsedQuery' to using
>'JavaClass.getReferences' for finding usages.
>
>The latter is generally better for my needs, but the former allowed me to
>attach a ProgressListener and hence display a progress bar of how long the
>operation was expected to take. Is there a similar ability for
>JavaClass.getReferences?
>
>Many thanks for all your assistance,
>
>Richard.
>
>
>  
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.