Scroll Bars on Viewer problem [message #189064] |
Mon, 25 July 2005 12:48  |
Eclipse User |
|
|
|
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 #189236 is a reply to message #189064] |
Tue, 26 July 2005 11:59  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03074 seconds