Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Impact of EMF facet 0.2 usage into papyrus 1.0.0
Impact of EMF facet 0.2 usage into papyrus 1.0.0 [message #1270835] Thu, 13 March 2014 15:58
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
Hi,
The usage of EMF-Facet 0.2 has been integrated into Papyrus 1.0.0 (version of June).
This usage involves one major change. Shocked

In the context of old framewok, to obtain the UML element from the model explorer, it was only needed to adapt it into an EObject.
Now this approach does not run. In fact all elements in the model explorer that are directly displayed with EMF- Facet are EObjects. See org.eclipse.papyrus.emf.facet.custom.metamodel.v0_2_0.internal.treeproxy

It implies that the test with IAdaptable does not un.

Now , I advise you to use

import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
...
obj = EMFHelper.getEObject(obj);
...


Patrick
Laboratoire d'Ingénierie dirigée par les modèles pour les Systèmes Embarqués (LISE)
CEA Saclay Nano-INNOV - Institut CARNOT CEA LIST, DILS - Point Courrier n° 174 - 91 191 Gif sur Yvette CEDEX
Previous Topic:Signal Attributes not in Diagrams
Next Topic:How to use allocation table (old and new) ?
Goto Forum:
  


Current Time: Fri Apr 26 02:30:39 GMT 2024

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

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

Back to the top