Could there be no scroll pane in compartment? [message #33794] |
Wed, 30 August 2006 04:02  |
Eclipse User |
|
|
|
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 10:11  |
Eclipse User |
|
|
|
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.04827 seconds