Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Figures with fixed size and location
Figures with fixed size and location [message #203739] Fri, 25 November 2005 16:24 Go to next message
Bradley Schmerl is currently offline Bradley SchmerlFriend
Messages: 26
Registered: July 2009
Junior Member
Hi,

I want to have a figure that remains the same size and the same location
in the viewport of my editor, regardless of scrolling or scale. Is this
possible? Could someone give me pointers on how to do it?

I vaguely recall seeing in one of the GEF plans that this was a proposed
item. Did it ever make it into GEF?

Thanks,
Bradley.
Re: Figures with fixed size and location [message #203760 is a reply to message #203739] Sun, 27 November 2005 04:09 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The best solution is to use a separate canvas to the side or above. If you
must have something overlapping for some reason, there is no support
currently.

We have suggested in the past that someone modify ViewportLayout to handle
more than one child. The other children could be either above or behind the
viewport. We welcome any contributions, but the feature would have to be
integrated with figurecanvas, which uses SWT's scroll() method to copy
portions of the viewport in one direction. This optimization would have to
be omitted if there are non-scrolling pieces.

"Bradey Schmerl" <schmerl@cs.cmu.edu> wrote in message
news:dm7dpo$333$1@news.eclipse.org...
> Hi,
>
> I want to have a figure that remains the same size and the same location
> in the viewport of my editor, regardless of scrolling or scale. Is this
> possible? Could someone give me pointers on how to do it?
>
> I vaguely recall seeing in one of the GEF plans that this was a proposed
> item. Did it ever make it into GEF?
>
> Thanks,
> Bradley.
Previous Topic:writing apllets using gef
Next Topic:PDF export
Goto Forum:
  


Current Time: Tue Jan 21 23:26:47 GMT 2025

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

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

Back to the top