Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Deactiviate editor
Deactiviate editor [message #240932] Thu, 24 January 2008 10:50
Eclipse UserFriend
Originally posted by: ascharf.de.ibm.com

Hi,

I have created a layer which is only for display purposes. That in turn
means, that I want to prevent the user
from modifying the contents. What I have already done is to override the
containsPoint() and findFigureAt() methods
so that hit testing will never pass through this layer.

This works fine for preventing the user to put new contents into the editor
with help of the palette. Also single clicking
doesn't mark any underlying figures. But the marquee tool for example is
still working.

Is there any possibility to completly disable the input capabilities of the
editor? Or what do you suggest what
I should do instead to achieve this approach?

Regards,
Andreas
Previous Topic:Connector z-order
Next Topic:DND from TreeViewer to GMF generated editor
Goto Forum:
  


Current Time: Fri Mar 29 14:16:52 GMT 2024

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

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

Back to the top