Home » Eclipse Projects » GEF » Dragging figures does not resize editor
Dragging figures does not resize editor [message #188166] |
Tue, 19 July 2005 13:36 |
Eclipse User |
|
|
|
Originally posted by: tkoray.aselsan.com.tr
Hi,
When dragging objects outside the editors visible area, editor doesnt resize
and scrollbars doesnt update accordingly. But when I drop object to the
bottom or right side of editor, after drop editor resizes. What can be the
problem?
Thanx,
Tankut Koray
|
|
|
Re: Dragging figures does not resize editor [message #188191 is a reply to message #188166] |
Tue, 19 July 2005 15:12 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Are you showing the feedback figure when dragging?
"Tankut Koray" <tkoray@aselsan.com.tr> wrote in message
news:dbivkn$ksr$1@news.eclipse.org...
> Hi,
>
> When dragging objects outside the editors visible area, editor doesnt
resize
> and scrollbars doesnt update accordingly. But when I drop object to the
> bottom or right side of editor, after drop editor resizes. What can be the
> problem?
>
> Thanx,
> Tankut Koray
>
>
|
|
| |
Re: Dragging figures does not resize editor [message #188509 is a reply to message #188351] |
Wed, 20 July 2005 20:53 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
So that rectangle just gets hidden as you drag it outside the editor's
visible area? You're not perchange mixing XY/Freeform layouts and layers,
are you? If not, you'll just have to debug and compare the execution to
that of the shapes example.
"Tankut Koray" <tankut@gmail.com> wrote in message
news:dbjpve$omd$1@news.eclipse.org...
> I think so. I saw a rectangle while dragging...
>
> "Pratik Shah" <none@unknown.com> wrote in message
> news:dbj59n$tnk$1@news.eclipse.org...
> > Are you showing the feedback figure when dragging?
> >
> > "Tankut Koray" <tkoray@aselsan.com.tr> wrote in message
> > news:dbivkn$ksr$1@news.eclipse.org...
> >> Hi,
> >>
> >> When dragging objects outside the editors visible area, editor doesnt
> > resize
> >> and scrollbars doesnt update accordingly. But when I drop object to the
> >> bottom or right side of editor, after drop editor resizes. What can be
> >> the
> >> problem?
> >>
> >> Thanx,
> >> Tankut Koray
> >>
> >>
> >
> >
>
>
|
|
|
Re: Dragging figures does not resize editor [message #188538 is a reply to message #188509] |
Thu, 21 July 2005 07:38 |
Eclipse User |
|
|
|
Originally posted by: tkoray.aselsan.com.tr
Hi,
I found the problem.I had been using a normal layer and changed to
freeformlayer but didint sloved the problem.
But than released my root editpart is ScableRootEditPart not
ScableFreeformRootEditPa.rt. I changed and it worked.
Now I have another problem; When drag object to the left of visible area,
viewer enarges to the negative coordinates, so when I close and reopen the
editor, it doesnt show topleft corner but show areaat location 0,0.How can
move visisble area to the topleft of editor, when I open the diagram?
Thanks for all your help,
Tankut
"Pratik Shah" <none@unknown.com> wrote in message
news:dbmdjf$lnb$1@news.eclipse.org...
> So that rectangle just gets hidden as you drag it outside the editor's
> visible area? You're not perchange mixing XY/Freeform layouts and layers,
> are you? If not, you'll just have to debug and compare the execution to
> that of the shapes example.
>
> "Tankut Koray" <tankut@gmail.com> wrote in message
> news:dbjpve$omd$1@news.eclipse.org...
>> I think so. I saw a rectangle while dragging...
>>
>> "Pratik Shah" <none@unknown.com> wrote in message
>> news:dbj59n$tnk$1@news.eclipse.org...
>> > Are you showing the feedback figure when dragging?
>> >
>> > "Tankut Koray" <tkoray@aselsan.com.tr> wrote in message
>> > news:dbivkn$ksr$1@news.eclipse.org...
>> >> Hi,
>> >>
>> >> When dragging objects outside the editors visible area, editor doesnt
>> > resize
>> >> and scrollbars doesnt update accordingly. But when I drop object to
>> >> the
>> >> bottom or right side of editor, after drop editor resizes. What can be
>> >> the
>> >> problem?
>> >>
>> >> Thanx,
>> >> Tankut Koray
>> >>
>> >>
>> >
>> >
>>
>>
>
>
|
|
|
Re: Dragging figures does not resize editor [message #188692 is a reply to message #188538] |
Fri, 22 July 2005 13:46 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
If you don't want negative coordinates, you don't have to use the "freeform"
classes. You would then have to prevent the user from dragging into
negative coordinates or else things will get lost.
"Tankut Koray" <tkoray@aselsan.com.tr> wrote in message
news:dbnje7$n90$1@news.eclipse.org...
> Hi,
>
> I found the problem.I had been using a normal layer and changed to
> freeformlayer but didint sloved the problem.
>
> But than released my root editpart is ScableRootEditPart not
> ScableFreeformRootEditPa.rt. I changed and it worked.
>
> Now I have another problem; When drag object to the left of visible area,
> viewer enarges to the negative coordinates, so when I close and reopen the
> editor, it doesnt show topleft corner but show areaat location 0,0.How can
> move visisble area to the topleft of editor, when I open the diagram?
>
> Thanks for all your help,
> Tankut
>
>
>
> "Pratik Shah" <none@unknown.com> wrote in message
> news:dbmdjf$lnb$1@news.eclipse.org...
>> So that rectangle just gets hidden as you drag it outside the editor's
>> visible area? You're not perchange mixing XY/Freeform layouts and
>> layers,
>> are you? If not, you'll just have to debug and compare the execution to
>> that of the shapes example.
>>
>> "Tankut Koray" <tankut@gmail.com> wrote in message
>> news:dbjpve$omd$1@news.eclipse.org...
>>> I think so. I saw a rectangle while dragging...
>>>
>>> "Pratik Shah" <none@unknown.com> wrote in message
>>> news:dbj59n$tnk$1@news.eclipse.org...
>>> > Are you showing the feedback figure when dragging?
>>> >
>>> > "Tankut Koray" <tkoray@aselsan.com.tr> wrote in message
>>> > news:dbivkn$ksr$1@news.eclipse.org...
>>> >> Hi,
>>> >>
>>> >> When dragging objects outside the editors visible area, editor doesnt
>>> > resize
>>> >> and scrollbars doesnt update accordingly. But when I drop object to
>>> >> the
>>> >> bottom or right side of editor, after drop editor resizes. What can
>>> >> be
>>> >> the
>>> >> problem?
>>> >>
>>> >> Thanx,
>>> >> Tankut Koray
>>> >>
>>> >>
>>> >
>>> >
>>>
>>>
>>
>>
>
>
|
|
|
Goto Forum:
Current Time: Tue Dec 10 15:38:08 GMT 2024
Powered by FUDForum. Page generated in 0.04052 seconds
|