Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Custom figure user event handling load\save to EMF model (Adding custom code to sirius provider to handle user move event and save the data to the model)
Custom figure user event handling load\save to EMF model [message #1761157] Mon, 08 May 2017 10:42
Natan br is currently offline Natan brFriend
Messages: 1
Registered: May 2017
Junior Member
Hi,

I am trying to implement code that will save and load figure coordinates to the EMF model upon user drag & drop action.

I have created x,y properties in the EMF model element, I was thinking to catch the drag event, load the properties (x,y) from the model, or Save the mouse x,y point to the model.

The question is what is the best whey to implement this, what provider should I use (and what is the interface name for this provider).

So far I tried to use the:
sirius.diagram.ui.styleConfigurationProvider and
gmf.runtime.diagram.ui.editpartProvider
but it looks like I am using the wrong places.

Thanks!

[Updated on: Tue, 09 May 2017 06:33]

Report message to a moderator

Previous Topic:Create class diagram from xmi model
Next Topic:Error after migrating from Sirius 3 to 4
Goto Forum:
  


Current Time: Fri Apr 26 23:32:39 GMT 2024

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

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

Back to the top