|Design question about XSD editor [message #566035]
||Fri, 07 March 2003 00:23
Originally posted by: oro7d3.netscape.net|
In XSD editor, it has 1 is text view, 1 is tree view for the XSD model.
My assumption is there is just 1 model but there are 2 ways to edit it, 1
uses text editor, 1 uses tree editor.
I am wondering how the tree view in the XSD editor is construct?
Does it loop thru the whole model about build a SWT tree to represent the
Or it just builds the tree dynamically (i.e. when the user clicks on a node
to expand, it just looks up its children dynamically and insert child tree
item to the parent SWT tree item dynamically?
I am trying to do a plugin which has 2 views: 1 is text view and 2 is tree
view. It is used to edit a XML DOM. So I am wonder should I bulid a full
blown SWT TREE for each node in the DOM, or just insert nodes to the SWT
I look thru the code, but I don't really find the anwser to my question.
Any help is appreciated.
Powered by FUDForum
. Page generated in 0.01643 seconds