Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Scroll Bars on Viewer problem
Scroll Bars on Viewer problem [message #189064] Mon, 25 July 2005 16:48 Go to next message
Eclipse UserFriend
Originally posted by: jjefferies.acm.org

I have set my FigureCanvas on which my figures are drawn to:

protected void configureGraphicalViewer() {
super.configureGraphicalViewer();
ScrollingGraphicalViewer viewer =
(ScrollingGraphicalViewer)getGraphicalViewer();

((FigureCanvas)viewer.getControl()).
setScrollBarVisibility(FigureCanvas.ALWAYS);

As I add new Figures to the canvas, the scroll bars appear and I can
scroll through the viewer...no problem. However, when I click on a figure
or move it around, the scroll bars disappear and I have no way of
navigating through the viewer. This is a problem, since I have zooming
functionality and an overview page that allows me to navigate through the
entire view space.

Am I missing something?

Any help would be greatly appreciated,
Thanks in advance,
Jim
Re: Scroll Bars on Viewer problem [message #189073 is a reply to message #189064] Mon, 25 July 2005 16:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jjefferies.acm.org

Another thing I forgot to mention in the previous question.

When I add a new figure to the viewer at the rightmost or bottom most
corner's, the scroll bars appear and I can navigate through the viewer.

After I move the figure, even just a little bit in any direction and still
keeping half of the figures bounds outside of the viewer, the scroll bars
disappear. But, when I click on and move the same figure, the scroll bars
appear only when I am dragging the figure around, then they disappear.


Please help me.
Thanx,
Jim
Re: Scroll Bars on Viewer problem [message #189236 is a reply to message #189064] Tue, 26 July 2005 15:59 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

I can't reproduce this in the logic example.

"Jim Jefferies" <jjefferies@acm.org> wrote in message
news:300d60beb0980ac8ae26498306185e13$1@www.eclipse.org...
> I have set my FigureCanvas on which my figures are drawn to:
>
> protected void configureGraphicalViewer() {
> super.configureGraphicalViewer();
> ScrollingGraphicalViewer viewer =
> (ScrollingGraphicalViewer)getGraphicalViewer();
>
> ((FigureCanvas)viewer.getControl()).
> setScrollBarVisibility(FigureCanvas.ALWAYS);
>
> As I add new Figures to the canvas, the scroll bars appear and I can
> scroll through the viewer...no problem. However, when I click on a figure
> or move it around, the scroll bars disappear and I have no way of
> navigating through the viewer. This is a problem, since I have zooming
> functionality and an overview page that allows me to navigate through the
> entire view space.
>
> Am I missing something?
>
> Any help would be greatly appreciated,
> Thanks in advance,
> Jim
>
Previous Topic:A (hopefully) simple question. Removing connections and decorations.
Next Topic:laying out only selected figures
Goto Forum:
  


Current Time: Mon Dec 02 21:16:51 GMT 2024

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

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

Back to the top