Remove resize handlers [message #1313480] |
Thu, 24 April 2014 22:43 |
|
Hi,
I have a diagram with objects that I don't want to resize. I created a resize feature that always returns false. However, when I select an object on the editor, the resize handlers are still there, and is even possible to move them (without resizing the object...). Can I hide those handlers?
Thanks!
|
|
|
|
|
Re: Remove resize handlers [message #1324012 is a reply to message #1314074] |
Wed, 30 April 2014 15:09 |
|
Thanks Marek Jagielski. Your class is similar to mine, so the problem wasn't there, but your answer sent me on the right direction.
Actually, I had an error in the FeatureProvider, I forgot to change the line that checked the type of object (it was still checking if the object was of type EClass, like in the tutorial...)
@ Soeren M: i wanted to disable the capacity to move the handlers, not the object, but thanks anyway
[Updated on: Wed, 30 April 2014 15:09] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03452 seconds