Scrolling on Object Create [message #90551] |
Wed, 13 August 2003 11:41  |
Eclipse User |
|
|
|
Originally posted by: felipeg.us.ibm.com
Randy,
My users are complaining that adding objects to the canvas is too
cumbersome. Currently, they have to drop the object within the visible
region and then drag and drop it to its final destination. Obviously, when
the visible region is fully populated, this becomes a challenge. Any ideas
here?
Thanks,
Felipe
|
|
|
Re: Scrolling on Object Create [message #90580 is a reply to message #90551] |
Wed, 13 August 2003 12:45   |
Eclipse User |
|
|
|
Originally posted by: felipeg.us.ibm.com
Randy,
Here's a bit more info, in case I haven't made myself clear:
My users create their large diagrams in a step-down-and-to-the-right
fashion. The problem appears when they reach the bottom right hand corner of
their view. The area will already be populated and they have to drop the
object somewhere else and then reposition it by dragging it outside the
canvas where they can't see where it is going to fall (If this is not fully
clear I can create a movie of it and send it to you.)
It would be nice if when they reached the bottom right hand corner of the
screen, that the canvas would expanded itself and scrolled to show the newly
added space where they could add their object.
Also, as another issue, they expected to hold the mouse down while dragging
the object from the palette. This is what they are used to from other
similar programs. In our case, when we try that, an error message pops up
when you drop the object on the canvas.
Anyway, let me know if there is anything we can do here.
Thanks again,
Felipe
"Felipe Gomez" <felipeg@us.ibm.com> wrote in message
news:bhdm0b$ttd$1@eclipse.org...
> Randy,
>
> My users are complaining that adding objects to the canvas is too
> cumbersome. Currently, they have to drop the object within the visible
> region and then drag and drop it to its final destination. Obviously, when
> the visible region is fully populated, this becomes a challenge. Any ideas
> here?
>
> Thanks,
>
> Felipe
>
>
|
|
|
Re: Scrolling on Object Create [message #90596 is a reply to message #90580] |
Wed, 13 August 2003 12:55   |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
The simple solution would be to add a MarginBorder to the contents figure.
This margin would ensure that the scrollable region is always as large as
the diagrams contents, plus some amount. Combine this with existing
autoscroll function and you should be good to go.
"Felipe Gomez" <felipeg@us.ibm.com> wrote in message
news:bhdpnl$27t$1@eclipse.org...
> Randy,
>
> Here's a bit more info, in case I haven't made myself clear:
>
> My users create their large diagrams in a step-down-and-to-the-right
> fashion. The problem appears when they reach the bottom right hand corner
of
> their view. The area will already be populated and they have to drop the
> object somewhere else and then reposition it by dragging it outside the
> canvas where they can't see where it is going to fall (If this is not
fully
> clear I can create a movie of it and send it to you.)
>
> It would be nice if when they reached the bottom right hand corner of the
> screen, that the canvas would expanded itself and scrolled to show the
newly
> added space where they could add their object.
>
> Also, as another issue, they expected to hold the mouse down while
dragging
> the object from the palette. This is what they are used to from other
> similar programs. In our case, when we try that, an error message pops up
> when you drop the object on the canvas.
>
> Anyway, let me know if there is anything we can do here.
>
> Thanks again,
>
> Felipe
>
>
> "Felipe Gomez" <felipeg@us.ibm.com> wrote in message
> news:bhdm0b$ttd$1@eclipse.org...
> > Randy,
> >
> > My users are complaining that adding objects to the canvas is too
> > cumbersome. Currently, they have to drop the object within the visible
> > region and then drag and drop it to its final destination. Obviously,
when
> > the visible region is fully populated, this becomes a challenge. Any
ideas
> > here?
> >
> > Thanks,
> >
> > Felipe
> >
> >
>
>
|
|
|
|
Re: Scrolling on Object Create [message #90626 is a reply to message #90610] |
Wed, 13 August 2003 13:45  |
Eclipse User |
|
|
|
Originally posted by: felipeg.us.ibm.com
Thanks Dan, I got it.
I tracked the problem to a missing handler in
LogicElementFactory::GetNewObject().
Much appreciated,
Felipe
"Dan Lee" <delee@ATus.DOTibm.com> wrote in message
news:bhdrrf$4gm$1@eclipse.org...
> Felipe Gomez wrote:
> > Also, as another issue, they expected to hold the mouse down while
> dragging
> > the object from the palette. This is what they are used to from other
> > similar programs. In our case, when we try that, an error message pops
up
> > when you drop the object on the canvas.
>
> Drag and drop from the palette is implemented in the Logic Example. You
> need
> to:
> 1) Add a TemplateTransferDragSourceListener to the palette viewer
> (This is done in initializePaletteViewer() of LogicEditor)
>
> 2) Create a subclass of TemplateTransferDropTargetListener and add it to
> your graphical viewer
> (This is done in initialzeGraphicalViewer() of LogicEditor as
> LogicTemplateTransferDropTargetListener).
>
> If you have done both of these things, post the stack trace from the log
> when the error occurs.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04290 seconds