Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Draw a shape with .gmfgraph
Draw a shape with .gmfgraph [message #1083306] Fri, 09 August 2013 19:44 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 243
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

I want to draw a shape which contains another shapes so i configure .gmfgraph but i can't create shape. (And i attached picture og .gmfgraph)

<descriptors name="ReceiveTaskFigure">
        <actualFigure xsi:type="gmfgraph:Rectangle" name="ReceiveTaskFig" outline="false" fill="false">
          <layout xsi:type="gmfgraph:XYLayout"/>
          <children xsi:type="gmfgraph:Rectangle" name="Resourcess" outline="false" fill="false">
            <layoutData xsi:type="gmfgraph:XYLayoutData">
              <topLeft/>
            </layoutData>
            <foregroundColor xsi:type="gmfgraph:RGBColor"/>
            <size x="60" y="40"/>
            <children xsi:type="gmfgraph:Rectangle" name="leftRect">
              <layoutData xsi:type="gmfgraph:XYLayoutData">
                <topLeft x="10"/>
              </layoutData>
              <foregroundColor xsi:type="gmfgraph:RGBColor"/>
              <size x="10" y="40"/>
            </children>
            <children xsi:type="gmfgraph:Rectangle" name="rigthRect">
              <layoutData xsi:type="gmfgraph:XYLayoutData">
                <topLeft x="50"/>
              </layoutData>
              <foregroundColor xsi:type="gmfgraph:RGBColor"/>
              <size x="10" y="40"/>
            </children>
            <children xsi:type="gmfgraph:Rectangle" name="mainRect">
              <layoutData xsi:type="gmfgraph:XYLayoutData">
                <topLeft/>
              </layoutData>
              <foregroundColor xsi:type="gmfgraph:RGBColor"/>
              <size x="60" y="40"/>
            </children>
          </children>
        </actualFigure>
        <accessors figure="/0/@figures.0/@descriptors.21/@actualFigure/@children.0"/>
      </descriptors>


can anyone help me to solve this ?

Regards
  • Attachment: GMFGRAPH.jpg
    (Size: 65.99KB, Downloaded 148 times)
Re: Draw a shape with .gmfgraph [message #1095026 is a reply to message #1083306] Mon, 26 August 2013 14:21 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 702
Registered: November 2009
Senior Member
Hi,

you should explain a bit better what you want to achieve. Your question is hard to understand.

Ralph
Previous Topic:Adding a button to an ellement
Next Topic:How can i change view of element when element attribute changed?
Goto Forum:
  


Current Time: Wed Apr 24 23:14:01 GMT 2024

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

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

Back to the top