RCP editor behavior [message #419010] |
Wed, 07 May 2008 21:24 |
Eclipse User |
|
|
|
Originally posted by: emf.klmusic.no
Hi,
I've got a fresh emf-generated rcp editor. The only parameter I changed in
the genmodel was setting rcp to true. When I run it I can create a new
file using the wizard, but I'm not allowed to edit this file until I use
the SaveAs command on it.
1. Is this behavior normal?
2. Can I change it in the genmodel or do I have to dig into the code?
Thanks,
Knut
|
|
|
|
Re: RCP editor behavior [message #419019 is a reply to message #419011] |
Wed, 07 May 2008 23:37 |
Eclipse User |
|
|
|
Originally posted by: emf.klmusic.no
Ed,
I'm using EMF 2.3.2.v20080205 on Eclipse 3.3.2 M20080221
Knut
> Knut,
> That sounds a little odd. What version of EMF are you using?
> Knut L wrote:
>> Hi,
>>
>> I've got a fresh emf-generated rcp editor. The only parameter I
>> changed in the genmodel was setting rcp to true. When I run it I can
>> create a new file using the wizard, but I'm not allowed to edit this
>> file until I use the SaveAs command on it. 1. Is this behavior normal?
>> 2. Can I change it in the genmodel or do I have to dig into the code?
>>
>> Thanks,
>> Knut
>>
>>
>>
|
|
|
|
Re: RCP editor behavior [message #419022 is a reply to message #419020] |
Thu, 08 May 2008 00:32 |
Eclipse User |
|
|
|
Originally posted by: emf.klmusic.no
Ed,
I created a minimal model in a fresh workspace, and yes, it's
reproducable. Is it just me, or is it a bug? If so it should be reported,
and I'm not sure how to do that...
Ed Merks wrote:
> Knut,
> That's the latest released version. This is the first I've heard of
> such a problem... It sounds like something related to the editing
> domain's computation of isReadOnly...
> Knut L wrote:
>> Ed,
>>
>> I'm using EMF 2.3.2.v20080205 on Eclipse 3.3.2 M20080221
>>
>> Knut
>>
>>> Knut,
>>
>>> That sounds a little odd. What version of EMF are you using?
>>
>>
>>> Knut L wrote:
>>>> Hi,
>>>>
>>>> I've got a fresh emf-generated rcp editor. The only parameter I
>>>> changed in the genmodel was setting rcp to true. When I run it I can
>>>> create a new file using the wizard, but I'm not allowed to edit this
>>>> file until I use the SaveAs command on it. 1. Is this behavior
>>>> normal? 2. Can I change it in the genmodel or do I have to dig into
>>>> the code?
>>>>
>>>> Thanks,
>>>> Knut
>>>>
>>>>
>>>>
>>
>>
|
|
|
Re: RCP editor behavior [message #419023 is a reply to message #419022] |
Thu, 08 May 2008 01:16 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Knut,
The release is quite old, so I'd be kind of surprised that there'd be
such a bug only just now reported. Can you try EMF 2.4 with Eclipse
3.4? M7 is just out..
Knut L wrote:
> Ed,
>
> I created a minimal model in a fresh workspace, and yes, it's
> reproducable. Is it just me, or is it a bug? If so it should be
> reported, and I'm not sure how to do that...
>
>
> Ed Merks wrote:
>
>> Knut,
>
>> That's the latest released version. This is the first I've heard of
>> such a problem... It sounds like something related to the editing
>> domain's computation of isReadOnly...
>
>
>> Knut L wrote:
>>> Ed,
>>>
>>> I'm using EMF 2.3.2.v20080205 on Eclipse 3.3.2 M20080221
>>>
>>> Knut
>>>
>>>> Knut,
>>>
>>>> That sounds a little odd. What version of EMF are you using?
>>>
>>>
>>>> Knut L wrote:
>>>>> Hi,
>>>>>
>>>>> I've got a fresh emf-generated rcp editor. The only parameter I
>>>>> changed in the genmodel was setting rcp to true. When I run it I
>>>>> can create a new file using the wizard, but I'm not allowed to
>>>>> edit this file until I use the SaveAs command on it. 1. Is this
>>>>> behavior normal? 2. Can I change it in the genmodel or do I have
>>>>> to dig into the code?
>>>>>
>>>>> Thanks,
>>>>> Knut
>>>>>
>>>>>
>>>>>
>>>
>>>
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: RCP editor behavior - Solution! [message #419027 is a reply to message #419023] |
Thu, 08 May 2008 09:26 |
Eclipse User |
|
|
|
Originally posted by: emf.klmusic.no
Ed,
Problem solved (or found, depending on how you look at it...). The thing
is that I have to enter the new file name as a complete path in the wizard
(I only entered the filename).
Maybe the File label in the NewFile wizard should be changed from "File"
to "File (complete path)"?
Sorry I'm a newbie :-)
Knut
|
|
|
Powered by
FUDForum. Page generated in 0.02847 seconds