[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] GMF Help
|
- From: jmad@xxxxxxxx (John-Marc Desmarais)
- Date: Fri, 19 Jun 2009 15:44:59 +0000 (UTC)
- Newsgroups: eclipse.modeling.gmf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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.genmodel
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmfgraph
http://www.site.uottawa.ca/~jdesm068/HardwareDesigner.gmftool
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