Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Displaying Connections (...make them visible)
Displaying Connections [message #1002768] Sat, 19 January 2013 06:01 Go to previous message
Tim E. is currently offline Tim E.
Messages: 56
Registered: November 2012
Member
Hi,

I've got a problem with connections.

You should know:
-- I'm currently using GEF just as a visualization tool, for visualizing a model
-- the editing capabilities of GEF will be used later in the project
-- I've have to work with a model I'm not allowed to change
-- the model has no update/notification mechanism
-- no editing capabilities are required at the moment, except of moving the elements
of the diagram (if you like to call this editing)
-- no view information (positions, width, height, ...) is stored in the model, at all

At the moment I'm trying to add connections to my visualization.
Therefo some of the EditParts implement NodeEditPart and thus provide all information
for the connections. As far as I can see, the connections (its editparts) are created correctly.

Unfortunately, the connections are not shown in the editor.

I've read a lot about it and figured out that I have to call refreshSourceConnections(), and refreshTargetConnections().

But all the solutions I've found depend either on the notification of the view by the model, which I don't have.
Or depend on a creation command for connections, that I also don't have.

So is there a way to make my connection visible?

I'd appreciate your help.

Thanks in advance,
Tim

[Updated on: Sat, 19 January 2013 06:22]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic:SWT.TAB key
Next Topic:Creating a "Mini" View
Goto Forum:
  


Current Time: Sat May 25 10:10:56 EDT 2013

Powered by FUDForum. Page generated in 0.01839 seconds