Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Design question about XSD editor
Design question about XSD editor [message #566035] Fri, 07 March 2003 00:23
Eclipse User
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
whole model?

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
Tree dynamically.

I look thru the code, but I don't really find the anwser to my question.
Any help is appreciated.
Previous Topic:Unmarshalling Problem in eclipse
Next Topic:Design question about XSD editor
Goto Forum:
  


Current Time: Tue Sep 23 06:20:57 GMT 2014

Powered by FUDForum. Page generated in 0.01717 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software