Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » RCP editor behavior
RCP editor behavior [message #419010] Wed, 07 May 2008 21:24 Go to next message
Eclipse UserFriend
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 #419011 is a reply to message #419010] Wed, 07 May 2008 21:38 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
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 [message #419019 is a reply to message #419011] Wed, 07 May 2008 23:37 Go to previous messageGo to next message
Eclipse UserFriend
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 #419020 is a reply to message #419019] Wed, 07 May 2008 23:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
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 [message #419022 is a reply to message #419020] Thu, 08 May 2008 00:32 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Re: forcing emf to save object ref as @
Next Topic:Help to start
Goto Forum:
  


Current Time: Tue Apr 23 15:20:45 GMT 2024

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

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

Back to the top