Skip to main content



      Home
Home » Archived » Sapphire » Is it possible to use buried xml tree nodes in diagram
Is it possible to use buried xml tree nodes in diagram [message #937253] Mon, 08 October 2012 16:40 Go to next message
Eclipse UserFriend
Hi,
I would like to use deeply buried nodes of xml tree as nodes (and connections) in a diagram. How do I specify the properties holding them?
In the examples of the samples plugin the nodes are children of the root node so that they can be easily specified.

Best regards

-Eyck
Re: Is it possible to use buried xml tree nodes in diagram [message #937839 is a reply to message #937253] Tue, 09 October 2012 06:07 Go to previous messageGo to next message
Eclipse UserFriend
You may try to use the "with" construct. Try this:

<with>
    <path>GrandParent/Parent/Child</path>
    <default-panel>
        <content>
            <property-editor>Property1</property-editor>
            <property-editor>Property2</property-editor>
            <property-editor>Property3</property-editor>
        </content>
    </default-panel>
</with>
Re: Is it possible to use buried xml tree nodes in diagram [message #938215 is a reply to message #937839] Tue, 09 October 2012 13:10 Go to previous message
Eclipse UserFriend
The with construct is only applicable for forms. If the model needed for the diagram is buried within a larger model, you can navigate to the relevant root element when instantiating SapphireDiagramEditor in the editor class.

- Konstantin
Previous Topic:Does XMLBinding use XPath?
Next Topic:problem having namespace declaration within xml tree
Goto Forum:
  


Current Time: Thu Jul 17 19:28:22 EDT 2025

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

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

Back to the top