NonResizableEditPolicy [message #211320] |
Thu, 09 March 2006 17:29 |
Eclipse User |
|
|
|
Originally posted by: greg.gigon.tugulu.com
Hello there,
Correct me if I'm wrong but is this policy used when there need to drag an element but NOT TO RESIZE?
I've tried to install this policy but I stil have the resize handles :/
Do I have to do something more?
Greg
|
|
|
Re: NonResizableEditPolicy [message #211327 is a reply to message #211320] |
Thu, 09 March 2006 17:57 |
Eclipse User |
|
|
|
Originally posted by: gmittendorferREMOVETHISTEXT.web.de
Greg wrote:
> Hello there,
> Correct me if I'm wrong but is this policy used when there need to drag
> an element but NOT TO RESIZE?
>
> I've tried to install this policy but I stil have the resize handles :/
>
> Do I have to do something more?
>
> Greg
Hi, try to override createChildEditPolicy in the parents layout edit policy:
@Override
protected EditPolicy createChildEditPolicy(EditPart child) {
return new NonResizableEditPolicy();
}
Reagards, Georg
|
|
|
Re: NonResizableEditPolicy [message #211400 is a reply to message #211327] |
Fri, 10 March 2006 10:36 |
Eclipse User |
|
|
|
Originally posted by: greg.gigon.tugulu.com
Thanks Georg
That worked fine :)
Cheers, Greg
Georg Mittendorfer wrote:
> Greg wrote:
>
>> Hello there,
>> Correct me if I'm wrong but is this policy used when there need to
>> drag an element but NOT TO RESIZE?
>>
>> I've tried to install this policy but I stil have the resize handles :/
>>
>> Do I have to do something more?
>>
>> Greg
>
>
> Hi, try to override createChildEditPolicy in the parents layout edit
> policy:
>
> @Override
> protected EditPolicy createChildEditPolicy(EditPart child) {
> return new NonResizableEditPolicy();
> }
>
> Reagards, Georg
|
|
|
Powered by
FUDForum. Page generated in 0.05443 seconds