Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » EMF and GEF(Drag and Drop in GEF using EMF Models)
EMF and GEF [message #708898] Wed, 03 August 2011 05:11 Go to next message
Guru  is currently offline Guru
Messages: 9
Registered: July 2011
Location: India
Junior Member
When i drag a StartEvent from palette and drop it to BPMN Editor StartEvent placed in particular location only. Not in the cursor's current position. This problem arises due to cant able to retrieve bounds from model object in refreshVisuals(). any suggestions.

Thanks.
Re: EMF and GEF [message #708968 is a reply to message #708898] Wed, 03 August 2011 06:49 Go to previous messageGo to next message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 695
Registered: November 2009
Senior Member
Hi,

Maybe you can give a bit more detail about what you have developed and what you exact scenario is.

Ralph
Re: EMF and GEF [message #709076 is a reply to message #708968] Wed, 03 August 2011 09:32 Go to previous messageGo to next message
Guru  is currently offline Guru
Messages: 9
Registered: July 2011
Location: India
Junior Member
Hello Ralph,

Thanks for your reply. I am trying to create GEF editor for BPMN2 Model. While creating "Start Event" from palette, in createRequest myself getting constraint properly, but I dont know how to get the constraint in StartEventEditPart. Because my "StartEvent - Model" does not have any methods related to layout or Bounds. Is there any suggestions or sample code to getBounds in refreshVisuals().

Thanks.
Re: EMF and GEF [message #709662 is a reply to message #709076] Thu, 04 August 2011 02:40 Go to previous message
Ralph Gerbig is currently offline Ralph Gerbig
Messages: 695
Registered: November 2009
Senior Member
Hi,

I think if you are trying to develop GEF without GMF your question would better fit and be answered in the GEF forums.

Ralph
Previous Topic:GMF & EMF synergy
Next Topic:From Model to Edit Part
Goto Forum:
  


Current Time: Fri Apr 18 14:32:53 EDT 2014

Powered by FUDForum. Page generated in 0.02350 seconds