|
|
|
|
|
Re: eInvoke fails [message #991967 is a reply to message #991952] |
Thu, 20 December 2012 15:08 |
Ed Merks Messages: 33139 Registered: July 2009 |
Senior Member |
|
|
Ed,
I added the method
org.eclipse.emf.codegen.ecore.genmodel.GenModel.initialize(boolean) in
2.8 and it's called by when creating new models, i.e.,
org.eclipse.emf.importer.ModelImporter.adjustGenModel(Monitor), and when
a GenModel is inferred from an Xcore model.
On 20/12/2012 6:39 AM, Ed Willink wrote:
> Hi Ed
>
> Is it easy for OCLinEcore to change this default too, or is this only
> possible once genmodel is integrated into the model model?
>
> Regards
>
> Ed Willink
>
> On 20/12/2012 14:19, Ed Merks wrote:
>> Markus,
>>
>> With Xcore-based models, it defaults to true...
>>
>> On 20/12/2012 6:05 AM, Markus Riedl wrote:
>>> Ahhh that seems to be the problem.. quite hidden in fact..
>>>
>>> Greetings
>>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: eInvoke fails [message #991999 is a reply to message #991967] |
Thu, 20 December 2012 16:25 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi Ed
Great. So it's fixed for everything; I had a vague feeling that things
had got better here.
Regards
Ed
On 20/12/2012 15:08, Ed Merks wrote:
> Ed,
>
> I added the method
> org.eclipse.emf.codegen.ecore.genmodel.GenModel.initialize(boolean) in
> 2.8 and it's called by when creating new models, i.e.,
> org.eclipse.emf.importer.ModelImporter.adjustGenModel(Monitor), and
> when a GenModel is inferred from an Xcore model.
>
>
> On 20/12/2012 6:39 AM, Ed Willink wrote:
>> Hi Ed
>>
>> Is it easy for OCLinEcore to change this default too, or is this only
>> possible once genmodel is integrated into the model model?
>>
>> Regards
>>
>> Ed Willink
>>
>> On 20/12/2012 14:19, Ed Merks wrote:
>>> Markus,
>>>
>>> With Xcore-based models, it defaults to true...
>>>
>>> On 20/12/2012 6:05 AM, Markus Riedl wrote:
>>>> Ahhh that seems to be the problem.. quite hidden in fact..
>>>>
>>>> Greetings
>>>
>>
>
|
|
|
Re: eInvoke fails [message #992007 is a reply to message #991999] |
Thu, 20 December 2012 16:42 |
Ed Merks Messages: 33139 Registered: July 2009 |
Senior Member |
|
|
Ed,
Yes, I have to balance keeping things stable for the established user
base, while making useful improvements for the new user base. This
approach of keeping defaults such that the base is stable while setting
improved defaults for new models seemed like a good way to balance those
conflicting needs.
On 20/12/2012 8:25 AM, Ed Willink wrote:
> Hi Ed
>
> Great. So it's fixed for everything; I had a vague feeling that things
> had got better here.
>
> Regards
>
> Ed
>
>
> On 20/12/2012 15:08, Ed Merks wrote:
>> Ed,
>>
>> I added the method
>> org.eclipse.emf.codegen.ecore.genmodel.GenModel.initialize(boolean)
>> in 2.8 and it's called by when creating new models, i.e.,
>> org.eclipse.emf.importer.ModelImporter.adjustGenModel(Monitor), and
>> when a GenModel is inferred from an Xcore model.
>>
>>
>> On 20/12/2012 6:39 AM, Ed Willink wrote:
>>> Hi Ed
>>>
>>> Is it easy for OCLinEcore to change this default too, or is this
>>> only possible once genmodel is integrated into the model model?
>>>
>>> Regards
>>>
>>> Ed Willink
>>>
>>> On 20/12/2012 14:19, Ed Merks wrote:
>>>> Markus,
>>>>
>>>> With Xcore-based models, it defaults to true...
>>>>
>>>> On 20/12/2012 6:05 AM, Markus Riedl wrote:
>>>>> Ahhh that seems to be the problem.. quite hidden in fact..
>>>>>
>>>>> Greetings
>>>>
>>>
>>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: eInvoke fails [message #992836 is a reply to message #992750] |
Sat, 22 December 2012 19:41 |
Ed Merks Messages: 33139 Registered: July 2009 |
Senior Member |
|
|
Markus,
Yes, unfortunately a model needs to generate support for that and if a
model doesn't do that, your extension of it isn't going to be able to
support operation reflection either.
On 22/12/2012 5:54 AM, Markus Riedl wrote:
> It maybe default, but the genmodel which I referred to was not under
> my control (not until now), there they intentionally or not set
> Operation Reflection to false and even in IBM RSA 8.5 the default is
> false
>
>
> Greetings
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04016 seconds