Re: Re: Q: multiple views

Tientien Li <[email protected]>
Newsgroups gmane.comp.java.netbeans.user-interface
Message-ID <[email protected]>
Thanks Jesse.. I will take a look at the
core/multiview module.

--- Jesse Glick <[email protected]> wrote:
> Tientien Li wrote:
> > I was looking for examples on how to implement a
> > module supporting multiple views. Two approaches
> used
> > by netbeans modules were found:
> > 
> > 1) Property Editor: one can "open" a property file
> in
> > a GUI editor or "edit" it in a text editor. Each
> > action opens a separated top component.
> > 
> > 2) Java Form Editor: one can "open" a Java form in
> a
> > GUI editor or "edit" it in a text editor. However,
> > both action interact with the same top level TC.
> > 
> > The first approach, one view per TC per action, is
> > probably easier to implement. The second approach,
> one
> > view per action in a shared TC, looks a lot better
> but
> > may require some more work to implement.
> 
> #2 is the newer, preferred style.
> 
> > Is there a netbeans UI standard on how to
> implement a
> > module with multiple views? Any suggestion on
> which
> > approach should be used?
> 
> Use the core/multiview support module (if you can
> figure out how it 
> works - it's not easy):
> 
>
http://www.netbeans.org/download/dev/javadoc/#def-api-multiview
> 
> Please use [email protected] for questions
> about "how".
> 
> -J.
> 
> -- 
> [email protected]   x22801   netbeans.org  
> ant.apache.org
> if I had known it was harmless I would have killed
> it myself
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
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.