How to make GEF editor non-editing [message #206484] |
Mon, 02 January 2006 12:01 |
Eclipse User |
|
|
|
Originally posted by: shruthi.cn.in.bosch.com
Hello all,
Wish you all a very Happy New Year!
I am new to GEF. How do i had a GEF editor without the editing feature.
Is this possible? If possible, then how?
Thank you very much
Best Regards
Shruthi
|
|
|
Re: How to make GEF editor non-editing [message #206512 is a reply to message #206484] |
Mon, 02 January 2006 22:34 |
Eclipse User |
|
|
|
Originally posted by: alex_blewitt.yahoo.com
Can you make the file read-only? that would prevent changes being allowed. However, it may not hide all the toolbars/menus that you may wish not to show in a read-only environment.
Alex.
|
|
|
Re: How to make GEF editor non-editing [message #206635 is a reply to message #206484] |
Wed, 04 January 2006 19:24 |
Eclipse User |
|
|
|
Originally posted by: pbeagan.yahoo_dontspamme_.com
You could try the following:
1. Put a boolean in your model or editor to flag as editable or not
2. In each of your EditPart.createEditPolicies() , only install
EditPolicies if the model is editable
Shruthi wrote:
> Hello all,
> Wish you all a very Happy New Year!
>
> I am new to GEF. How do i had a GEF editor without the editing feature.
> Is this possible? If possible, then how?
>
> Thank you very much
> Best Regards
> Shruthi
|
|
|
Powered by
FUDForum. Page generated in 0.01764 seconds