Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF Help
GMF Help [message #234302] Fri, 19 June 2009 15:44 Go to next message
John-Marc Desmarais is currently offline John-Marc DesmaraisFriend
Messages: 1
Registered: July 2009
Junior Member
Hi,

I am a research assistant at the University of Ottawa in the Computer
Architecture Research Group.

I am attempting to use GMF to create a model editor for a computer
hardware design application. The application will allow the user to add
components and connectors to the model object panel and should allow for
the connection of components to the connectors and to other components via
ports.

I started with a metamodel for the project which is available here:
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.ecore
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.ecore_ diagram

As can be seen here there are two types of components each of which can
contain one port and three types of connectors which allow for multiple
ports.

At this time, I have attempted to create the editor via the gmf dashboard
which created the following files:
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.genmod el
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfgra ph
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmftoo l
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfmap
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfgen

At this time, it appears that the components and connectors can be created
in the modeling window but no connections between objects can be created.
I don't think I am creating links properly, but I'm not sure of the proper
usage.

Also, I would like the ports to be created as a child node of the
connectors or components and be viewed as a small square on the border of
any of these. Then connection wires could be created from a port on a
connector or component to another port. Is this possible?

If this is not the correct place for this inquiry, can someone please
direct me to an appropriate forum or mailing list?

Thank you for your time,
John-Marc Desmarais
Re: GMF Help [message #234366 is a reply to message #234302] Sun, 21 June 2009 01:09 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi John-Marc,

Perhaps this can be of assistance:
http://epsilonlabs.wiki.sourceforge.net/EuGENia+GMF+Affixed+ Nodes

Cheers,
Dimitris

John-Marc Desmarais wrote:
> Hi,
>
> I am a research assistant at the University of Ottawa in the Computer
> Architecture Research Group.
>
> I am attempting to use GMF to create a model editor for a computer
> hardware design application. The application will allow the user to add
> components and connectors to the model object panel and should allow for
> the connection of components to the connectors and to other components
> via ports.
>
> I started with a metamodel for the project which is available here:
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.ecore
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.ecore_ diagram
>
> As can be seen here there are two types of components each of which can
> contain one port and three types of connectors which allow for multiple
> ports.
>
> At this time, I have attempted to create the editor via the gmf
> dashboard which created the following files:
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.genmod el
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfgra ph
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmftoo l
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfmap
> http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfgen
>
> At this time, it appears that the components and connectors can be
> created in the modeling window but no connections between objects can be
> created. I don't think I am creating links properly, but I'm not sure of
> the proper usage.
>
> Also, I would like the ports to be created as a child node of the
> connectors or components and be viewed as a small square on the border
> of any of these. Then connection wires could be created from a port on a
> connector or component to another port. Is this possible?
>
> If this is not the correct place for this inquiry, can someone please
> direct me to an appropriate forum or mailing list?
>
> Thank you for your time,
> John-Marc Desmarais
>
>
Re: GMF Help [message #1694581 is a reply to message #234366] Wed, 06 May 2015 12:52 Go to previous message
Luca Salemio is currently offline Luca SalemioFriend
Messages: 15
Registered: May 2013
Junior Member
Hi John-Marc,

I actually kind of the same goal as you had in this post and I am interested in knowing how and if you achieved it.

How did you include the ports in your graph tool?

Thanks in advance.
Luca.
Previous Topic:DiagramParserProvider Accepts only EAttribute Features
Next Topic:Export EMF Model to custom XML file
Goto Forum:
  


Current Time: Thu Mar 28 19:36:25 GMT 2024

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

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

Back to the top