Design Pattern for GUI configuration tool for Network Routers
I am a new member to this forum and apologize in advance if I am starting a thread for an already discussed topic. In that case please refer to an appropriate thread as I could find one.
What would be the appropriate design pattern to implement the GUI tree, GUI tree nodes, the nodes representing the actual instances, etc. We are right now using JTree for the tree.
I am designing a GUI tool that will be used by a mobile operator to configure a very advanced telecom network router. Configuration in the router is based on a hierarchical model that could be visualized as a tree with one root node and several childs and subchilds. Some of the childs are actual configuration instances and other childs are just holders for actual instances e.g
- IP Interfaces
The GUI tool is supposed to do following:
- Let the user get the configuration (xml file) from the router and display it in a tree form
- Browse through the config by expanding/collapsing the nodes in the tree
- Examine specific instances by clicking on an instance tree node (e.g. Route 1) and displaying related values in the GUI
- Create new instances that could be built into an xml and sent to the router.
We have already started working on the tool but not using any well thought design.