iBatis Sample and NetBeans Platform Pic from Norway

My small iBatis based sample application is really taking shape now. Apart from the cool PropertyPanel integration in the central editor area below, the other noteworthy thing is that all three of the windows are aware of changes to the underlying model. So, when either the Properties window or the editor are used to change a property, all the other windows are notified and appropriate events take place, such as the display name of the node in the viewer on the left getting updated. Despite the fact that all three windows come from different modules, of course.

I'm also discovering that BeanNode (properties support) + FilterNode (finetuning of BeanNode display) is a far more powerful combination than AbstractNode. And all along I've been using AbstractNode, until now. Plus, the SaveCookie has been integrated successfully. Now I simply need to hook in the standard iBatis code for saving objects to a database and then the "U" in "CRUD" is taken care of.

And here's a pic taken today of the group at the Institute of Marine Research in Bergen Norway on the course that Toni and I are delivering here (we're also in the pic somewhere). Behind the group, you see the amazing view over the Bergen harbor, as well as the mountains right behind it, that's visible from the top of the building and where the pic was taken (and where they have lunch, how cool is that):

Two NetBeans Platform applications they're drawing some inspiration from are the work done at Boeing (especially the JavaOne presentation from 2008 on that topic) and Puzzle GIS.

Comments:

Hello Geertjan,
I'm trying to use PropertyPanel to achieve what it seems you already have here...
I'm able to use the property panel to change the data on the nodes, and i'm also able to listen for changes.
The thing that i really could not achieve, is managing multiselection.
Could you succeed in letting your PropertyPanels (central form) to handle multiple selected nodea at once?

BTW... Thanks for the precious help you give us with this blog!

Posted by Luca on April 29, 2010 at 08:22 PM PDT #

Hi Luca. What should happen in the PropertyPanels when multiple nodes are selected together?

Posted by Geertjan Wielenga on April 30, 2010 at 02:48 AM PDT #

Well, the same thing that happens to a PropertySheet!
When one select more than one node, the controls reflect the "multi selection" state. For example, if I have 2 nodes selected, and these nodes expose boolean properties, and the value of this properties is not the same, then the relative propertyPanel will contain a "grayed" check box.
I tried to explore a bit the propertySheet in search of an hack, and I found that when multiple nodes are selected, the PropertySheet contains "ProxyProperties". But I cannot even imagine how to start looking for those...
Thanks!

Posted by guest on April 30, 2010 at 02:57 AM PDT #

Hello Geertjan,
did you have a chance looking into this?
I just need some directions... Where can I find documentation on this?
If I could manage to achieve the result I hope, I'll write down a tutorial and submit it to you! I promise! :-)

Posted by Luca on May 11, 2010 at 08:18 PM PDT #

Write to the mailing list dev@platform.netbeans.org. Thanks.

Posted by Geertjan on May 12, 2010 at 12:48 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
23
24
25
26
27
28
29
30
   
       
Today