Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Control action from EMF with notation model
Control action from EMF with notation model [message #479828] Wed, 12 August 2009 15:59
Emilien Perico is currently offline Emilien PericoFriend
Messages: 36
Registered: July 2009
Member
Hi all,

I would like to use the control action (from EMF ControlAction) in a gmf
notation model.

Unfortunately, the control action (Right Click on element > Control) is
not available on notation model.

An object is controllable if its container can resolve Proxies
(eObject.eContainmentFeature().isResolveProxies()).

Control a notation.Diagram should be consistent, but I saw that the
resolve proxies property is true in metamodel but set to false in the code
here:
org.eclipse.gmf.runtime.notation.impl.NotationPackageImpl.in itializePackageContents

Model code generation is overridden by a template (PackageClass.javajet)
that set to false the resolve proxies property.

Why this property is set to false ?
Is there a reason to override this property value ?
Is there another way to enable the control action ?

Thanks,

Emilien Perico
Previous Topic:Launch property edit dialog programmatically
Next Topic:Obtain all editparts from model
Goto Forum:
  


Current Time: Thu Mar 28 13:56:42 GMT 2024

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

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

Back to the top