Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Control/Uncontrol in Eclipse EMF
Control/Uncontrol in Eclipse EMF [message #692419] Mon, 04 July 2011 12:00 Go to next message
Dimitri CHARLES is currently offline Dimitri CHARLESFriend
Messages: 3
Registered: July 2011
Junior Member
Hi, I am a beginner in Eclipse EMF and I am developing a project on the top of this platform. I recently discover the Control/Uncontrol functionality in EMF and I would like to use it in my project. My problem is I cannot useful information. Can somebody show me where I can find the source of this functionality so I can explore myself?


Thx for your help !!
Re: Control/Uncontrol in Eclipse EMF [message #692530 is a reply to message #692419] Mon, 04 July 2011 16:53 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
HI

This is news to me and to Google. I suspect you have misunderstood or
misquoted something.

Regards

Ed Willink

On 04/07/2011 13:00, Dimitri CHARLES wrote:
> Hi, I am a beginner in Eclipse EMF and I am developing a project on
> the top of this platform. I recently discover the Control/Uncontrol
> functionality in EMF and I would like to use it in my project. My
> problem is I cannot useful information. Can somebody show me where I
> can find the source of this functionality so I can explore myself?
>
> Thx for your help !!
Re: Control/Uncontrol in Eclipse EMF [message #692782 is a reply to message #692419] Tue, 05 July 2011 08:24 Go to previous message
Tristan Faure is currently offline Tristan FaureFriend
Messages: 460
Registered: July 2009
Senior Member
The control/Uncontrol is implemented by a containement relationship where elements are contained in another resource.

For an element it is "contollable" if the relationship accepts proxy resolution.

In EditingDomain you can use isControllable and isControlled methods.

To check how it is implemented I recommend you to lokk at this class :

http://dev.eclipse.org/viewcvs/viewvc.cgi/org.eclipse.emf/org.eclipse.emf/plugins/org.eclipse.emf.rap.edit.ui/src/org/eclipse/emf/edit/ui/action/ControlAction.java?root=Modeling_Project&view=co




Previous Topic:[TEXO/Hibernate] Help with AnnotationException: No identifier specified
Next Topic:How to fix a "Package with uri not found." error
Goto Forum:
  


Current Time: Thu Apr 25 12:13:14 GMT 2024

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

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

Back to the top