MultiViewElement's switching programmatically

Paco Barrera <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAFS-qLkN058UqmC=6b3sJw26e+fQf1mE_j3WgQkmjHBeM7GjkA@mail.gmail.com>
Hi all,

I need to change in a TopComponent with some MultiViewElements from
MultiViewA to MultiViewB programmatically.

I try getting first the active TopComponent to obtain after the
MultiViewHandler.

The MultiViewhandler has the method getSelectedPerspective, but not
setSelectedPerspective.

How can I make this? Is this the correct way to do it?

Thanks in advance.
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.