Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Draw a shape with .gmfgraph
Draw a shape with .gmfgraph [message #1083306] Fri, 09 August 2013 15:44 Go to next message
Eclipse UserFriend
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 173 times)
Re: Draw a shape with .gmfgraph [message #1095026 is a reply to message #1083306] Mon, 26 August 2013 10:21 Go to previous message
Eclipse UserFriend
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: Thu Jul 10 00:18:02 EDT 2025

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

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

Back to the top