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:


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?

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

Current Time: Fri Feb 24 08:33:47 GMT 2017

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

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