Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to make GEF editor non-editing
How to make GEF editor non-editing [message #206484] Mon, 02 January 2006 12:01 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
Previous Topic:Changes in DirectedGraphLayout's behavior
Next Topic:selecting and moving children (recursiv TabContainer)
Goto Forum:
  


Current Time: Tue Apr 23 15:05:18 GMT 2024

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

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

Back to the top