|Re: GMF Help [message #234366 is a reply to message #234302]
||Sun, 21 June 2009 01:09
| Dimitrios Kolovos
Registered: July 2009
Perhaps this can be of assistance:
John-Marc Desmarais wrote:
> 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_ 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
> 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
> 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
Powered by FUDForum
. Page generated in 0.01781 seconds