MultiMode View (Perspective)

Resonantly I read a Eclipse blog. Topic is Top 10 Reason to use Eclipse . According blog second reason is “Perspective”.Also my friends complain about this missing feature .So I developed a plug-in call MultiMode View(Perspective) to provide Perspective Functionality.


See this Tour

Currently Supported Features

  • Create Custom Layout Configurations.

  • Switch between views.

  • Overwrite Configuration.

TODO

  • Trigger View based on Actions.

  • Customize Tool bar and Menus.

(Please use after 09/08 Dev build to use this plug-in )

While I develop this plug-in I found a bug in Window System API.

When TopComponent dock into Mode TopComponent PREFERRED_ID got changed. After some days I thought checkout the source and give it a try. I do manage to build form source and run Netbeans IDE.I start long sessions of debugging and browsing code I found the bug in Core – Windows Module .So I fix the bug and build again. It seems bug got fixed. So I create a patch and attached to issue , I do sign CA and email to be a Contributor. But my patch is not sufficient and it will solve problem only for persistent TC,real Issue is tricky and if interested read the comments in http://www.netbeans.org/issues/show_bug.cgi?id=109098. Though my patch is not integrate, I'm really happy because I found a hidden bug in core and the bug got fixed.

Now I have new hobby dive into NB source and try to understand, fix bugs and learn from it.
I think if you involved in module development definitely checkout the source and give it a try. I do hope to blog more about Window System hacks in future.

P.S Sorry about my poor English. I'm also hope to improve my English by blogging.

12 comments:

Unknown

August 12, 2007 at 1:14 AM

Well Done!

R.

DanMendes

August 12, 2007 at 4:28 AM

Looking good :)

But i have a couple of questions:

1) Do any perspectives/views come out of the box?

2) How do i save the perspectives "file/configuration" and share them across many computers or ide instances. Basically i want a save btn and then a load btn to share perspectives from computer to computer or to load it on a local server.

3)Why the weird position scheme, why don't you put a selection box with btns to define positions similar to what is used in other customization panels?

Anyway it looks like a great plugin, hopefully it will evolve into something real useful for Eclipse users doing the transition.

Unknown

August 12, 2007 at 7:08 AM

Very nice! Definitely something I will use as an Eclipse user :-)

And I agree with the 3 points made by daniel, especially the views-manager is weird.

Point 1 would be really nice too, especially to show off what your plug-in can do right from the start. (Personally I would make a Debug view, I keep opening and closing panels when switching from editing to debugging ;-) )

Anuradha

August 12, 2007 at 8:41 PM

Thanks for feedbacks.
1) Do any perspectives/views come out of the box?

A. I'm working on it .Its not that easy.Create a mode in Netbeans some what deficit and not work as you aspect I'll blog about it.

2) How do i save the perspectives "file/configuration" and share them across many computers or ide instances. Basically i want a save btn and then a load btn to share perspectives from computer to computer or to load it on a local server.

A. I'm working on it .

3)Why the weird position scheme, why don't you put a selection box with btns to define positions similar to what is used in other customization panels?

A. I didn't get you.I just use the Netbeans create action wizard position scheme .Can you suggest a way?

Unknown

August 13, 2007 at 2:30 AM

Cool module!

I'll give it a try :)

Anonymous

August 14, 2007 at 4:38 AM

Nice work!

Is there a way to use key-shortcuts to switch between layouts?

Anonymous

December 28, 2007 at 2:22 PM

great job. i was missing perspectives from netbeans very much.

Anonymous

January 10, 2009 at 4:05 AM

Great Module! I'd like to use it in a platform project. Is the perspectives Module Open Source (which license)? Is there an API that allows me to use it programmatically?

Toni

Anonymous

January 18, 2010 at 4:30 PM

Amiable dispatch and this mail helped me alot in my college assignement. Gratefulness you for your information.

Anonymous

February 14, 2010 at 8:07 PM

Good brief and this fill someone in on helped me alot in my college assignement. Say thank you you seeking your information.

iriikoad

September 12, 2011 at 2:07 AM

Good job!
But I have this problem: I created a perspective "MyView" but when netbeans opens, the perspective is bad, I have to press again on the button "MyView" so that windows are correct.
I'd like also save/open a view with all windows opened, like a desktop saver (perspective + windows + positions of all windows)
Do you know how to do that?
Do you provide your source code?
Thanks!

Gibby

September 21, 2011 at 10:28 AM

Anurada I have added your Perspective plug-in to a project called the DAQ Analyzer. This Netbeans platform application allows scientists to view and graph DAQ data from a linear accelerator. I was wondering if I could possibly get the source code to the Perspective plug-in so that I may contribute to it. You can see comments on this application in my blog. http://gibsonsystems.com/sblog

Thanks,
Brad Gibson