Scroll Bars on Viewer problem [message #189064] |
Mon, 25 July 2005 16: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 #189073 is a reply to message #189064] |
Mon, 25 July 2005 16:54 |
Eclipse User |
|
|
|
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 |
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.02987 seconds