|
|
|
Re: Selection [message #248464 is a reply to message #248403] |
Tue, 21 April 2009 12:46 |
Eclipse User |
|
|
|
Originally posted by: manojm.blr.interrasystems.com
Have you tried with LAYOUT_ROLE?
Regards,
Manoj
exquisitus wrote:
> It doesn't help. Actually, just installing a XY layout edit policy and
> overriding the createChangeConstraintCommand() method should be enough.
> The parent owns a freeform layer. I still wonder what I might have
> forgotten. I checked several times the code and I am not able to see
> what's wrong.
>
> Regards.
>
> Ben Vitale a écrit :
>
>> exquisitus wrote:
>>
>>> Hi All,
>>>
>>> I have use GEF with EMF in order to make a small example. I have
>>> intalled a XYLayoutEditPolicy on the root node and overriden the
>>> createChangeConstraintCommand() method to allow resizing and moving
>>> parts but I can't even select my parts once they are created.
>>>
>>> Any Idea ?
>>>
>>> Regards.
>>
>>
>> Maybe you just need to install a selection feedback edit policy? That
>> is, in your edit part,
>>
>> installEditPolicy(
>> EditPolicy.SELECTION_FEEDBACK_ROLE, new SelectionEditPolicy());
>>
>> Or something along those lines.
>>
>> -Ben
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03863 seconds