Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » element to hold text in GMF
element to hold text in GMF [message #45548] Tue, 12 September 2006 02:33
Eclipse UserFriend
Hi,

I have a xsd file which has an element log of type logtype. The log
element contains some text which is reflected in xsd by mixed attribute
which is set to true.

The XSD file looks like this

<rootnode>
<xsd:element name="log" type="logType"></xsd:element>

<xsd:complexType name="logType" mixed="true">
<xsd:sequence>
<xsd:element ref="value" maxOccurs="unbounded" minOccurs="1"></xsd:element>
</xsd:sequence>
<xsd:attribute ref="label" />
</xsd:complexType>
</rootnode>

Example of this xsd is :

<rootnode><log> This is text that needs to be handled</log></rootnode>


In the GMF model when I am associating a label with the logtype in the
gmfmap file then I am getting the mixed attribute also along with other
attributes. Could you please suggest how to handle the text in the GMF
model. What kind of modifications i have to do in the .gmgraph,.gmfmap and
gmftool files so that i can handle the text.

Please Suggest

Thanks and regards
Balraj
Previous Topic:property with File Browser Dialog
Next Topic:Adding Custom properties.
Goto Forum:
  


Current Time: Tue Jul 15 03:07:41 EDT 2025

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

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

Back to the top