Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Dynamic tree Implemenation
Dynamic tree Implemenation [message #551893] Tue, 10 August 2010 03:46 Go to next message
ash is currently offline ashFriend
Messages: 142
Registered: July 2010
Senior Member
Hi


Can Any one share Dynamic tree Implementation

where in Tree is able to display up to nth level (here all item are fetched from database).

my mail id ashok_kumar_rr@yahoo.com

Thanks
Ashok




Re: Dynamic tree Implemenation [message #552018 is a reply to message #551893] Tue, 10 August 2010 14:17 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------040802070600020609040607
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Try generating an example following
http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l and using
this XML Schema model of a tree

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
xmlns:tree="http://www.example.com/tree"
ecore:nsPrefix="tree"
ecore:package="com.example.tree"
targetNamespace="http://www.example.com/tree">
<xsd:element name="tree" type="tree:Node"/>
<xsd:complexType name="Node">
<xsd:sequence>
<xsd:element ecore:opposite="parent"
maxOccurs="unbounded" minOccurs="0" name="children"
type="tree:Node"/>
</xsd:sequence>
<xsd:attribute name="label" type="xsd:string"/>
<xsd:attribute ecore:reference="xsd:anyType" name="data"
type="xsd:anyURI"/>
</xsd:complexType>
</xsd:schema>



ashok_kumar_rr@yahoo.com wrote:
> Hi
>
> Can Any one share Dynamic tree Implementation
> where in Tree is able to display up to nth level (here all item are
> fetched from database).
>
> my mail id mailto:ashok_kumar_rr@yahoo.com
>
> Thanks
> Ashok
>
>
>
>
>

--------------040802070600020609040607
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Try generating an example following
<a class="moz-txt-link-freetext" href=" http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l"> http://www.eclipse.org/articles/Article-EMF-goes-RCP/rcp.htm l</a> and using
this XML Schema model of a tree<br>
<blockquote>&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>
&lt;xsd:schema<br>
    xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a><br>
    xmlns:ecore=<a class="moz-txt-link-rfc2396E" href="http://www.eclipse.org/emf/2002/Ecore">"http://www.eclipse.org/emf/2002/Ecore"</a><br>
    xmlns:tree=<a class="moz-txt-link-rfc2396E" href="http://www.example.com/tree">"http://www.example.com/tree"</a><br>
    ecore:nsPrefix="tree"<br>
    ecore:package="com.example.tree"<br>
    targetNamespace=<a class="moz-txt-link-rfc2396E" href="http://www.example.com/tree">"http://www.example.com/tree"</a>&gt;<br>
  &lt;xsd:element name="tree" type="tree:Node"/&gt;<br>
  &lt;xsd:complexType name="Node"&gt;<br>
    &lt;xsd:sequence&gt;<br>
      &lt;xsd:element ecore:opposite="parent"<br>
          maxOccurs="unbounded" minOccurs="0" name="children"
type="tree:Node"/&gt;<br>
    &lt;/xsd:sequence&gt;<br>
    &lt;xsd:attribute name="label" type="xsd:string"/&gt;<br>
    &lt;xsd:attribute ecore:reference="xsd:anyType" name="data"
type="xsd:anyURI"/&gt;<br>
  &lt;/xsd:complexType&gt;<br>
&lt;/xsd:schema&gt;<br>
</blockquote>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:ashok_kumar_rr@yahoo.com">ashok_kumar_rr@yahoo.com</a> wrote:
<blockquote cite="mid:i3qi1v$1re$1@build.eclipse.org" type="cite">Hi <br>
<br>
Can Any one share Dynamic tree Implementation <br>
where in Tree is able to display up to nth level (here all item are
fetched from database).
<br>
<br>
my mail id <a class="moz-txt-link-freetext" href="mailto:ashok_kumar_rr@yahoo.com">mailto:ashok_kumar_rr@yahoo.com</a>
<br>
<br>
Thanks
<br>
Ashok
<br>
<br>
<br>
<br>
<br>
<br>
</blockquote>
</body>
</html>

--------------040802070600020609040607--


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Customize Eclipse Help
Next Topic:Current UI update is always triggered by the next UI event
Goto Forum:
  


Current Time: Fri Apr 26 05:43:39 GMT 2024

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

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

Back to the top