Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Invalid Connection reference when compartments are used
Invalid Connection reference when compartments are used [message #183394] Thu, 17 April 2008 11:44 Go to next message
Sandip is currently offline SandipFriend
Messages: 39
Registered: July 2009
Member
Hello All,

In my gmfmap model, for the link mapping (connections) I have specified
source and target features as references to two of my domain objects.

However one of them has Compartment Mapping done in the gmfmap model.

In the diagram, now I cannot create a connection between these two
objects. For the editpart within the compartment, the connection arrow
shows "not allowed".

If I remove the compartment mapping, the source and target references are
properly understood by GMF and the connections can be drawn.

Since I need the compartments, is there anything separate that I need to
do to allow a connection to be anchored to my object? Do I need to install
some policy for my compartment?
Re: Invalid Connection reference when compartments are used [message #183446 is a reply to message #183394] Thu, 17 April 2008 14:03 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello Sandip,

> Since I need the compartments, is there anything separate that I need
> to do to allow a connection to be anchored to my object? Do I need to
> install some policy for my compartment?
Try modifying layout node having compartment in .gmfgraph model. Looks like
you are not able to point to the node itself wile drawing the connection
- you are always pointing to the compartment.. I think you need some "free
space" above or below this compartment - this space will belong to the node
itself, so you will be able to point to it while drawing the connetion.

-----------------
Alex Shatalin
Previous Topic:ConnectionAnchor doesn't refresh
Next Topic:To re-position the Editpart
Goto Forum:
  


Current Time: Thu Apr 25 05:39:46 GMT 2024

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

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

Back to the top