Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EMFStore] Pluginmigration from 0.9.x to 1.2.0
[EMFStore] Pluginmigration from 0.9.x to 1.2.0 [message #1369979] Tue, 20 May 2014 20:43 Go to next message
Tien Bui is currently offline Tien BuiFriend
Messages: 1
Registered: May 2014
Junior Member
Hi,

I am using a plugin that uses EMFStore 0.9.x and want to migrate it to v1.2.0.
I managed to migrate the core of this plugin, but still have some problems with the UI. It is using the Interface "ModelElementChangeListener" in the package "org.eclipse.emf.emfstore.common.model.util" and I cannot find a equivalent in the current EMFStore v1.2.0.

I assume is handles by "ESNotificationInfo" now, but I have no idea how to use it.

Do you have any hints for me? How are changes on Modelelements handled in v1.2.0?

Regards
Tien
Re: [EMFStore] Pluginmigration from 0.9.x to 1.2.0 [message #1371409 is a reply to message #1369979] Wed, 21 May 2014 11:01 Go to previous message
Maximilian Koegel is currently offline Maximilian KoegelFriend
Messages: 253
Registered: July 2009
Senior Member
Hi Tien,

there is no more dedicated API for this in EMFStore. You can create an
EMF Adapter (e.g. AdapterImpl or ContentAdapter) and attach it to the
EObject in question.
Alternatively you could consider using EMF Client Platform (would help
with creating UI for EMF Models) and use
org.eclipse.emf.ecp.edit.spi.util.ECPModelElementChangeListener in the
org.eclipse.emf.ecp.edit plugin. EMF Client Platform integrates well
with EMFStore:
http://emfcp.org
Hope this helps!

Cheers,
Maximilian


Am 21.05.2014 00:21, schrieb Tien Bui:
> Hi,
>
> I am using a plugin that uses EMFStore 0.9.x and want to migrate it to
> v1.2.0.
> I managed to migrate the core of this plugin, but still have some
> problems with the UI. It is using the Interface
> "ModelElementChangeListener" in the package
> "org.eclipse.emf.emfstore.common.model.util" and I cannot find a
> equivalent in the current EMFStore v1.2.0.
>
> I assume is handles by "ESNotificationInfo" now, but I have no idea how
> to use it.
> Do you have any hints for me? How are changes on Modelelements handled
> in v1.2.0?
>
> Regards
> Tien


--
Maximilian Kögel

Get Professional Eclipse Support: http://eclipsesource.com/munich
Previous Topic:Deploy ECP RAP Demo with warproducts
Next Topic:[Dawn] Generated Dawn Editor Wizards don't show resources inside the view
Goto Forum:
  


Current Time: Fri Mar 05 05:03:37 GMT 2021

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

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

Back to the top