|
|
Re: Could there be no scroll pane in compartment? [message #57875 is a reply to message #37399] |
Sat, 30 September 2006 22:51 |
Eclipse User |
|
|
|
Originally posted by: ng.MYFIRSTNAMEkuhn.ch
When I don't use a compartment, I can move / resize the child figures
outside of the boundaries of their parent figure. Is there a way to
prevent this?
Artem Tikhomirov wrote:
> Do you really need a compartment than? Perhaps, plain child figure would do
> the trick?
>
> Artem
>
> "Hao Zhang" <bjzhanghao@21cn.com> wrote in message
> news:1d8cd66f9b55196d79ec8d383136987a$1@www.eclipse.org...
>
>>Hi,
>>In a compartment, if I drag child figures out of its range, it
>>automatically scrolls over. However, I need the compartment area be fixed,
>>that is, user can't drag child figures out of its range. How to achieve
>>this?
>>
>>Hao Zhang
>>
>
>
>
|
|
|
Re: Could there be no scroll pane in compartment? [message #59569 is a reply to message #57875] |
Thu, 05 October 2006 14:11 |
Artem Tikhomirov Messages: 222 Registered: July 2009 |
Senior Member |
|
|
You can prevent resize with gmfgraph.Node's resizeConstraints (set to
NONE).
Move will take some GEF coding efforts, though
Artem
"Thomas Kuhn" <ng@MYFIRSTNAMEkuhn.ch> wrote in message
news:efmse3$rqd$1@utils.eclipse.org...
> When I don't use a compartment, I can move / resize the child figures
> outside of the boundaries of their parent figure. Is there a way to
> prevent this?
>
> Artem Tikhomirov wrote:
>> Do you really need a compartment than? Perhaps, plain child figure would
>> do the trick?
>>
>> Artem
>>
>> "Hao Zhang" <bjzhanghao@21cn.com> wrote in message
>> news:1d8cd66f9b55196d79ec8d383136987a$1@www.eclipse.org...
>>
>>>Hi,
>>>In a compartment, if I drag child figures out of its range, it
>>>automatically scrolls over. However, I need the compartment area be
>>>fixed, that is, user can't drag child figures out of its range. How to
>>>achieve this?
>>>
>>>Hao Zhang
>>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03760 seconds