Update Center issue: How to hide/remove items from the Available Plugins tab

"jhuber" <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Peter Hansson wrote:
> I'm not aware if this can be fixed with the standard UI component in the Platform.
> 
> However:
> 
> Are you aware that you are by no means forced to use the standard UI for Auto Update ?  (i.e. the one you find in Tools --> Plugins)
> 
> You can roll your own UI for that if you want. You just need to hook into the NetBeans Auto Update Services API (http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-autoupdate-services/org/netbeans/api/autoupdate/package-summary.html (http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-autoupdate-services/org/netbeans/api/autoupdate/package-summary.html)). In fact you can completely get rid of the UI if you want and do everything in the background if you don't want to leave your users any choice.
> 
> The API isn't the most intuitive to work with. It throws a lot of new terminology at you. Personally I learned a lot about how this works from "The Definitive Guide To NetBeans Platform 7" by Heiko Böck (chapter 36 and chapter 25). Try Google. The book is rather old but still the best source I know of for this particular subject.
> 
> If you are creating an NB application where you want to customize how the module install/update mechanism works, meaning you want full control, then especially chapter 25 has been an eye opener for me.
> 
> Enjoy.
> 
> Peter
> 


Peter,

Thank you for the reference! I found it and took a look at chapter 25.  I don't really need to roll my own complete new UI.  It would be ideal if there was some way to hook into the standard UI after it has compiled the update and install lists, and remove the unwanted items before the UI is displayed.  I'm not sure if this is possible.  I searched a little bit today, but didn't find and example of how to do this.
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.