[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[mdt-papyrus.dev] [Fwd: Control action from EMF with notation model]
|
Hi,
We are currently working on the control mode for MDT Papyrus project,
unfortunately the control action is not available for notation model.
I posted on GMF newsgroup to get information about the action (my
message below)
Do you have any clue about this point ?
Thanks for your help.
Emilien.
-------- Message original --------
Sujet : Control action from EMF with notation model
Date : Wed, 12 Aug 2009 15:59:49 +0000 (UTC)
De : emilien.perico@xxxxxxxxxxxxxx (Emilien Perico)
Organisation : Eclipse
Forum : eclipse.modeling.gmf
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.initializePackageContents
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