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:custom resizing
Next Topic:Any news about a GEF Book
Goto Forum:

Current Time: Tue Apr 24 01:30:31 GMT 2018

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

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