[platform-dev] Re: TopComponent.Registry

  • From: Chuck Davis < >
  • To:
  • Subject: [platform-dev] Re: TopComponent.Registry
  • Date: Tue, 28 Feb 2012 17:43:35 -0800
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.50.140.106 as permitted sender) smtp.mail= ; dkim=pass header.i=

Thanks, Emilian, but if I am reading the docs correctly that only
gives you the TopComponents that are open at the moment.

On Tue, Feb 28, 2012 at 1:48 PM, Emilian Bold 
< >
 wrote:
> http://bits.netbeans.org/dev/javadoc/org-openide-windows/org/openide/windows/TopComponent.Registry.html#getOpened()
> ?
>
> --emi
>
>
> On Tue, Feb 28, 2012 at 11:38 PM, Chuck Davis 
> < >
>  wrote:
>>
>> Would it be reasonable to add an iterator (or getter of an ArrayList,
>> etc)  to the registry so that we could examine all the top components
>> in the system?  Right now I want to walk all my top components and
>> look for Components with particular naming patterns for security
>> implementation but I have been unable to find a way to do that.  An
>> iterator over the registry seems to be a logical solution ????
>>
>> If there already is a facility to accomplish this feat I should be
>> happy for a link to the javadoc, tutorial or something.
>>
>> What I need:
>>
>> for(TopComponent c : TopComponent.Registry.iterator) {
>> List listofcomponents = c.getComponents();
>> for(Component cc : listofcomponents) {
>> do.some.stuff()
>> }}
>>
>> Thanks for any assistance.
>
>
>
>
> --
> http://www.josekibold.ro : Honesty & well-done software.


[platform-dev] Re: TopComponent.Registry

Chuck Davis 02/28/2012

[platform-dev] Re: TopComponent.Registry

Emilian Bold 02/28/2012

[platform-dev] Re: TopComponent.Registry

Javier Ortiz 02/28/2012

[platform-dev] Re: TopComponent.Registry

Chuck Davis 02/29/2012

[platform-dev] Re: TopComponent.Registry

Ernie Rael 02/29/2012

[platform-dev] Re: TopComponent.Registry

Chuck Davis 02/29/2012

[platform-dev] Re: TopComponent.Registry

Javier Ortiz 02/29/2012

[platform-dev] Re: TopComponent.Registry

Chuck Davis 02/29/2012

[platform-dev] Re: TopComponent.Registry

Javier Ortiz 02/29/2012

[platform-dev] Re: TopComponent.Registry

Chuck Davis 02/29/2012

Project Features

Project Links

About this Project

Platform was started in November 2009, is owned by Antonin Nebuzelsky, and has 138 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close