Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 20:40 Go to next message
Eyck Jentzsch is currently offline Eyck JentzschFriend
Messages: 21
Registered: August 2012
Junior Member
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 10:07 Go to previous messageGo to next message
Hazem ELRAFFIEE is currently offline Hazem ELRAFFIEEFriend
Messages: 61
Registered: September 2012
Member
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 17:10 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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: Fri Mar 29 13:30:07 GMT 2024

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

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

Back to the top