Control action from EMF with notation model [message #479828] |
Wed, 12 August 2009 15:59 |
Emilien Perico 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
|
|
|
Powered by
FUDForum. Page generated in 0.03454 seconds