Skip to main content



      Home
Home » Eclipse Projects » GEF » Dragging figures does not resize editor
Dragging figures does not resize editor [message #188166] Tue, 19 July 2005 09:36 Go to next message
Eclipse UserFriend
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 11:12 Go to previous messageGo to next message
Eclipse UserFriend
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 #188351 is a reply to message #188191] Tue, 19 July 2005 17:05 Go to previous messageGo to next message
Eclipse UserFriend
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 #188509 is a reply to message #188351] Wed, 20 July 2005 16:53 Go to previous messageGo to next message
Eclipse UserFriend
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 03:38 Go to previous messageGo to next message
Eclipse UserFriend
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 09:46 Go to previous message
Eclipse UserFriend
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
>>> >>
>>> >>
>>> >
>>> >
>>>
>>>
>>
>>
>
>
Previous Topic:draw2d label setPreferredSize() method does not set prefSize
Next Topic:how do i create a selectable anchor?
Goto Forum:
  


Current Time: Sat Jul 19 14:54:10 EDT 2025

Powered by FUDForum. Page generated in 0.04645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top