How to disable an GEF editor [message #216975] |
Mon, 29 May 2006 16:27 |
Eclipse User |
|
|
|
Originally posted by: VolkerSchilling.SchillingSoft.de
Hi @ll!
At a specific point of execution I like to prevent
the user from editing the model by the GEF editor.
The model should only be displayed at this point.
Is this possible?
Best regards
Volker Schilling
|
|
|
|
Re: How to disable an GEF editor [message #217361 is a reply to message #216983] |
Fri, 02 June 2006 22:29 |
Eclipse User |
|
|
|
Originally posted by: VolkerSchilling.SchillingSoft.de
Hi @ll
I had found a good solution. Use:
getGraphicalViewer().getControl().setEnable(false);
:->
Best Regards
Volker
Sebastian Gurin wrote:
> Hi!
>
> Well, I have not tried it, but I think you can deactivate all the
> editPolicies installed in you contentEditPart with the method
> EditPolicy.deactivate().
>
> Hope this help you
>
> On Mon, 29 May 2006 18:27:02 +0200
> Volker Schilling <VolkerSchilling@SchillingSoft.de> wrote:
>
>> Hi @ll!
>>
>> At a specific point of execution I like to prevent
>> the user from editing the model by the GEF editor.
>> The model should only be displayed at this point.
>>
>> Is this possible?
>>
>> Best regards
>> Volker Schilling
|
|
|
Powered by
FUDForum. Page generated in 0.02784 seconds