Vadiraj's Blog

My experiments with Java

Out of Hibernation

Wednesday Mar 12, 2008

Out of Hibernation, finally ! Its almost 3 months since I last blogged. No particular reason as to not blog but it just that I stayed away from it...

Lot of new things happened/happening.. I joined Opensource ISV Engg. group, which put me into direct contact with NetBeans plugin development (Hibernate plugin development). Soon I will be writing about the plugin and its development stories.

But for now, its good to be back to blog-o-sphere alive from hibernation :)

[2] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg
Comments:

Hello there... don't know your email so I shall attempt here to ask about a comment you left at this blog entry:

http://blogs.sun.com/geertjan/entry/visual_editor_part_2

You said: "Thank you Geertjan, this trick and the other one (checking component == null in getComponent() ) fixed the issue. Now I have two way sync (from visual editor to XML view and vice versa) working."

I'm working with this XML MultiView Editor example now. Can you elaborate on your comment, e.g., in which class is getComponent() located and how does your check contribute to realizing "two-way navigation"? Thank-you.

Posted by 24.69.68.196 on April 07, 2008 at 01:23 PM IST #

Hi 24.69.68.196, its not getComponent() but checking the SectionView for nullness in the ToolbarMultiviewEditor class. Sorry for the confusion.
To implement two way sync, one needs to get modelUpdatedFromUI() called at the right time and implement updateDataFromModel() properly. HTH.

Posted by Vadiraj on April 11, 2008 at 02:36 PM IST #

Post a Comment:
Comments are closed for this entry.