This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Hi, using the NetBeans Platform outside the NetBeans IDE, to build a stand- alone Java Swing GUI application, can the TopComponent, Mode, MultiViews, and MultiViewPerspective classes be used to produce a set of Perspectives with Views that can be docked and dragged around the window content pane, similar to Eclipse? Every piece of documentation I've read refers to this functionality with respect to its use inside the NetBeans IDE but I want to use the NetBeans Platform API only. Thanks! Charlie
Yes of course, TopComponent, Mode are part of the platform and can be used for purposes you mentioned. But what is MultiViewPerspective? I'm not aware about such class, where does it live? Thanks.
Hi MultiViewPerspective is a class listed in the JavaDoc for the NetBeans Platform. It's used in conjunction with TopComponent, although the documentation for it is minimal. Do you know of a good example of using the NetBeans Platform outside the IDE to build a set of Perspectives similar to Eclipse which have a variety of views within them that can be docked and moved around? Either way, I assume this is possible implementation to support with the API? Thanks!
multiview perspective is unrelated to window system. It's a way to programmatically manipulate multiviews. stuff like switching form file editor from "Design" to "Source".
I see. Well, to build perspectives would be possible, but with lot of work. Current Window system API doesn't support perspectives, you would have to write the support yourself. Currently we have no plan to add support for perspectives in near future, as for IDE itself it's not so valuable and there was no strong demand yet I believe. We have our concept of TopComponent groups (TopComponentGroup) which is sufficient so far. I'm changing summary to "Support for perspectives" and targeting to future. For further questions about platform, please visit platform.netbeans.org and mailing lists, this is the right place to ask, not IssueZilla. IssueZilla is for tracking individual specific requests, thank you.
Marking as duplicate of 129899 *** This issue has been marked as a duplicate of 129899 ***