Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Deactiviate editor
Deactiviate editor [message #240932] Thu, 24 January 2008 05:50
Eclipse User
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 Aug 01 06:11:02 EDT 2014

Powered by FUDForum. Page generated in 0.01583 seconds