Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Serveral questions
Serveral questions [message #243989] Wed, 02 July 2008 07:42 Go to next message
martin ganserer is currently offline martin gansererFriend
Messages: 2
Registered: July 2009
Junior Member
Hello,

I have serveral questions concerning GEF. To be honest I just started to
try GEF in one of my apps but after some days of testing I cannot get
further!

1) Dynamic moving of anchors
Is it possible to move connection anchors dynamically?
I have a model where one object can have many connections to another
object.
A connection always hides the last one.

2) Where can I place code to open e.g. a jface dialog when placing a
drawing element on the editor?

3) Where can I place my code when a drawing operation (drawing a
connection) is finished? I want to perform some further operations after a
drawing operation.

Thank you very much for your help!
Re: Serveral questions [message #244015 is a reply to message #243989] Thu, 03 July 2008 05:27 Go to previous message
Eclipse UserFriend
Originally posted by: shady_86.sify.com

it all depends on how you have created the structure of your code..

1. for the first one check out the logic diagram example

2. you can place your dialog code in your create command class where you will be adding the object in your model

3. check your GraphicalNodeEditPolicy which handles the creation of connection edit parts..,
Previous Topic:Zest "Zoom"
Next Topic:How to set the center of a newly created Figure at the Mouse Location?
Goto Forum:
  


Current Time: Fri Jun 22 18:35:46 GMT 2018

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

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

Back to the top