Can I take my application xStudio and port it on top of the NBPlatform? What I am looking for is
this -
- My Code base should remain fairly intact.
- I want my own menus and toolbars and splash screens.
- What I need NB to take care of is Interaction between different views - Tree and table, Report generation based on selected node, row etc.
- What code I want to eliminate is mainly all the listeners we use to report user input among different widgets
- Maintain organisation 's UI standards.
Preparation -
Understand thoroughly the concepts explained in the NB Quick start guide. This tutorial completes problems 2&5 by just editing one XML file that too by using context menus alone.
Selection management tutorial completed the rest.
Steps followed -
- Replace NB actions with our actions - simple to do since both are javax.swing.Action.
- Replace JSplitpanes with NB topcomponents
- Replace Tree and table combo with the TreeTableView (slight refactoring in our datamodel accomplished this).
9 hours later application has been ported.
Sorry no screen shots are available due to organisation's legal restrictions.
To fully understand the NB architecture, one has to just start with the quick start and system file system tutorial and after that things are rather simple.
No comments:
Post a Comment