Re: Ship with most modules disabled?

Tim Boudreau <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Anshuman wrote:

> Following is a somewhat related problem but of a different kind:
>  
> I have two modules which are mutually exclusive. I would like to launch 
> Netbeans say through a .bat file for each so that I only see the module 
> I want at the time. Each module have its own look customised through its 
> layer file.
> So what I really need is to be able to set the list of module required 
> to be started each time I launch the netbeans (say through a batch file).
> Also required in such case is the ability to launch the other set of 
> modules while the netbeans is already running, and if two modules that 
> define their own look exist, a menu item to switch between these modules 
> should appear.

This is probably a question for dev@openide, not here.

If you just want to suppress one module's UI, you could
probably have the hidden property of their layer files call
some method to determine if they should be visible or not.

-Tim
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.