Skip to main content



      Home
Home » Eclipse Projects » GEF » Re: latest changes in CVS
Re: latest changes in CVS [message #62332] Thu, 06 February 2003 03:20 Go to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> schrieb im Newsbeitrag
news:b1t39p$bel$1@rogue.oti.com...

> Drag and Drop is not fluent any more. Will there be improvements?

Drag and Drop from palette is ok but moving a figure inside my editor is
really slow. I'm using my own layout. Thus, I expect some lost in my code.
Some hints where to look at?

BTW, Randy, is it really a good idea to use the workbench text editor font
for the palette entries? It doesn't really look nice in a fixed width font
(Courier).

Thanks, Gunnar
Re: latest changes in CVS [message #62428 is a reply to message #62332] Thu, 06 February 2003 06:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> schrieb im Newsbeitrag
news:b1t4fn$c3t$1@rogue.oti.com...

> Drag and Drop from palette is ok but moving a figure inside my editor is
> really slow. I'm using my own layout. Thus, I expect some lost in my code.
> Some hints where to look at?

Ah, found it. My LayoutEditPolicy was checking if a certain area is empty. I
did this via my grid layout (because it knows where figures are). The new
way via EditPartViewer#findObjectAt is faster and probably the suggested
way, isn't it?

Cu, Gunnar
Performance lost through thumbnail! [message #62452 is a reply to message #62428] Thu, 06 February 2003 08:05 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Hi!
"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> schrieb im Newsbeitrag
news:b1tehs$jng$1@rogue.oti.com...

> Ah, found it.

Well I created a another view that shows a thumbnail of the current active
editor. It works exactly like the outline view. The editor that gets focus
is asked for #getAdapter(IContentOverviewPage.class) and that page is
displayed.

When the thumbnail is visible, moving existing figures get extremly slow,
although only the ghost shape is used as feedback. The performance is still
fast when dragging a new object from the palette. Only moving existing
figures is slow.

Any suggestions?

Cu, Gunnar
Re: Performance lost through thumbnail! [message #62474 is a reply to message #62452] Thu, 06 February 2003 09:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:b1tl6f$oeg$1@rogue.oti.com...
> Hi!
> "Gunnar Wagenknecht" <g.wagenknecht@intershop.de> schrieb im Newsbeitrag
> news:b1tehs$jng$1@rogue.oti.com...
>
> > Ah, found it.
>
> Well I created a another view that shows a thumbnail of the current active
> editor. It works exactly like the outline view. The editor that gets focus
> is asked for #getAdapter(IContentOverviewPage.class) and that page is
> displayed.
>
> When the thumbnail is visible, moving existing figures get extremly slow,
> although only the ghost shape is used as feedback. The performance is
still
> fast when dragging a new object from the palette. Only moving existing
> figures is slow.

You are using the overview figure? The overview figure was simplified to use
the new ScaledGraphics, but unfortunately we also removed its tiled update
behavior, so everything is updating at once. We need to restore the tiled
update so that it doesn't slow the UI response.

> Any suggestions?
>
> Cu, Gunnar
>
>
Re: Performance lost through thumbnail! [message #62607 is a reply to message #62474] Thu, 06 February 2003 09:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

Randy,

"Randy Hudson" <none@us.ibm.com> schrieb im Newsbeitrag
news:b1tppt$sn2$1@rogue.oti.com...
> You are using the overview figure? [...]

Yes!

Another question. Might it be possible that the palette doesn't use the
"Text Editor" font as its default?

Thanks, Gunnar
Re: Performance lost through thumbnail! [message #62631 is a reply to message #62607] Thu, 06 February 2003 10:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

We intend for it to default to the Dialog Font.

"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:b1trbg$u4t$1@rogue.oti.com...
> Randy,
>
> "Randy Hudson" <none@us.ibm.com> schrieb im Newsbeitrag
> news:b1tppt$sn2$1@rogue.oti.com...
> > You are using the overview figure? [...]
>
> Yes!
>
> Another question. Might it be possible that the palette doesn't use the
> "Text Editor" font as its default?
>
> Thanks, Gunnar
>
>
Re: Performance lost through thumbnail! [message #62750 is a reply to message #62631] Thu, 06 February 2003 14:03 Go to previous messageGo to next message
Eclipse UserFriend
Well, I changed it to use the dialog font by default (although even that
doesn't make much sense since dialog font is for dialogs). In any case, it
shouldn't matter since the user can always go to the settings dialog and
change the font to whatever he desires.

Pratik Shah

"Randy Hudson" <none@us.ibm.com> wrote in message
news:b1tsp2$vb5$1@rogue.oti.com...
> We intend for it to default to the Dialog Font.
>
> "Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
> news:b1trbg$u4t$1@rogue.oti.com...
> > Randy,
> >
> > "Randy Hudson" <none@us.ibm.com> schrieb im Newsbeitrag
> > news:b1tppt$sn2$1@rogue.oti.com...
> > > You are using the overview figure? [...]
> >
> > Yes!
> >
> > Another question. Might it be possible that the palette doesn't use the
> > "Text Editor" font as its default?
> >
> > Thanks, Gunnar
> >
> >
>
>
Re: Performance lost through thumbnail! [message #63088 is a reply to message #62750] Fri, 07 February 2003 10:22 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:b1ua0d$ath$1@rogue.oti.com...
> Well, I changed it to use the dialog font by default (although even that
> doesn't make much sense since dialog font is for dialogs). In any case,
it
> shouldn't matter since the user can always go to the settings dialog and
> change the font to whatever he desires.
>
> Pratik Shah

We could also use just "null", or whatever the platform decides to give an
SWT Canvas.

>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:b1tsp2$vb5$1@rogue.oti.com...
> > We intend for it to default to the Dialog Font.
> >
> > "Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
> > news:b1trbg$u4t$1@rogue.oti.com...
> > > Randy,
> > >
> > > "Randy Hudson" <none@us.ibm.com> schrieb im Newsbeitrag
> > > news:b1tppt$sn2$1@rogue.oti.com...
> > > > You are using the overview figure? [...]
> > >
> > > Yes!
> > >
> > > Another question. Might it be possible that the palette doesn't use
the
> > > "Text Editor" font as its default?
> > >
> > > Thanks, Gunnar
> > >
> > >
> >
> >
>
>
Previous Topic:Help me understand how to save
Next Topic:Font size
Goto Forum:
  


Current Time: Mon May 05 23:41:04 EDT 2025

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

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

Back to the top