diagram becomes readonly after appending a new view [message #72424] |
Wed, 01 November 2006 02:42  |
Eclipse User |
|
|
|
Originally posted by: vcciubot.uwaterloo.ca
I'm creating/removing a compartment using a canonical edit policy.
Delete works. When I execute the creation command, the whole diagram
becomes read only. The view gets created, but I don't see it on the
diagram.
Creation is done as follows:
CreateViewRequest.ViewDescriptor -> CreateCommand -> ICommandProxy ->
CanonicalEditPolicy#executeCommand
As a side question, why does the CanonicalPolicy make the newly created
views immutable?
thanks for your help
vlad
|
|
|
|
Re: diagram becomes readonly after appending a new view [message #73057 is a reply to message #73039] |
Wed, 01 November 2006 15:54  |
Eclipse User |
|
|
|
Vlad,
It doesn't really make sense to me that the diagram would become
read-only. Are you sure that it wasn't in some state where it just
wouldn't do anything because of the errors you were getting so it
appeared that it was read-only? I have seen that happen before.
- Cherie
Vlad Ciubotariu wrote:
> I was having an out of bounds exceptions when creating the figure for that
> view.
>
> Anyways, could someone explain why the diagram had become read-only?
>
> thanks
> vlad
>
> On Wed, 01 Nov 2006 02:42:29 -0500, Vlad Ciubotariu wrote:
>
>> I'm creating/removing a compartment using a canonical edit policy.
>> Delete works. When I execute the creation command, the whole diagram
>> becomes read only. The view gets created, but I don't see it on the
>> diagram.
>>
>> Creation is done as follows:
>>
>> CreateViewRequest.ViewDescriptor -> CreateCommand -> ICommandProxy ->
>> CanonicalEditPolicy#executeCommand
>>
>> As a side question, why does the CanonicalPolicy make the newly created
>> views immutable?
>>
>> thanks for your help
>> vlad
>
|
|
|
Powered by
FUDForum. Page generated in 0.32087 seconds