The relevant snippet in the example is attached to rdfs:Class via the 
ui:instanceView property. This means that any instance of rdfs:Class (i.e. 
every class) will use this ellipse as its default rendering.

Holger


On Sep 19, 2011, at 11:42 AM, Guilherme Scomparim wrote:

> Hi Holger,
>  
>   Thank you very much. It is working in my machine using Chrome 14.xxx  and 
> TBC 3.4.0 as well.
>  
>   My question now is where the code that creates the elipse is ? I started 
> looking from rdfs:Resource and then all the methods, however I cannot find 
> it. 
>  
>   The reson I want to see the code is to understand what I am doing wrong on 
> mine.
>  
> Many thanks,
> Guil
>    
> 
> Guil Scomparim 
> +61413997827
> 
>  
> > From: [email protected]
> > Subject: Re: [topbraid-users] How to use SVG in SWP
> > Date: Mon, 19 Sep 2011 10:09:56 +1000
> > To: [email protected]
> > 
> > Hi Guil,
> > 
> > not all web browsers have native SVG support, and especially the built-in 
> > browser of Eclipse on Windows is hopelessly outdated. It works nicely on 
> > Mac though, even with the built-in browser.
> > 
> > On Sep 15, 2011, at 11:52 AM, Guilherme Scomparim wrote:
> > 
> > > Hi All,
> > > 
> > > I am trying to use SVG in my SWP pages
> > > 
> > > Unfortunately I am unable to test even basic shapes.
> > > 
> > > I have created a ui:element where I have the following code in
> > > ui:prototype
> > > 
> > > <ui:group>
> > > <svg:G>
> > > <svg:Ellipse css:fill="yellow" css:stroke="black" svg:cx="100"
> > > svg:cy="48" svg:rx="300" svg:ry="148"/>
> > > <svg:Text svg:x="70" svg:y="50">Test</svg:Text>
> > > </svg:G>
> > > </ui:group>
> > > 
> > > This code I got from the User guide, however I had to change something
> > > like G instead g and include the namespace svg: for the arguments.
> > 
> > Thanks, I have fixed this on the documentation page.
> > 
> > 
> > > I am not sure what I am doing wrong, but I cannot get the Ellipse to
> > > work, I get the "Test" string but no graphics.
> > > 
> > > I am using IE 9, the latest Chrome and Firefox, however I cannot get
> > > the ellipse.
> > > 
> > > Any tips?
> > 
> > I have tried the attached example with TBC 3.5.1 on Windows XP with Chrome 
> > 13.0.782.220 m. With the attached file open in TBC, please go to the 
> > following URI
> > 
> > http://localhost:8083/tbl/uispin?_resource=rdfs:Resource
> > 
> > to see the yellow oval for rdfs:Resource. This works fine on my machine. 
> > Could you try to reproduce the same on your machine and we take it from 
> > there?
> > 
> > Thanks
> > Holger
> > 
> > -- 
> > You received this message because you are subscribed to the Google
> > Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> > To post to this group, send email to
> > [email protected]
> > To unsubscribe from this group, send email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/topbraid-users?hl=en
> -- 
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to