Home » Eclipse Projects » GEF » Unification of Marquee and selection tool
Unification of Marquee and selection tool [message #13979] |
Thu, 18 July 2002 09:32  |
Eclipse User |
|
|
|
Hi
i'm using the selection and marquee tools in my palette, and i was
wandering is there a way to not use them at all (i.e., the user will not
need to select Selection or Marquee from the palette), but the default
behaviour will be some sort of unification between them, i.e., upon click
there will be a selection behaviour, but if there was a mouse button down,
and then draging, then the behavioiur will be as a marquee, creation a
rectangle of selection.
thanks
yoav
|
|
|
Re: Unification of Marquee and selection tool [message #13981 is a reply to message #13979] |
Thu, 18 July 2002 11:00   |
Eclipse User |
|
|
|
Originally posted by: none.ibm.com
The logic example does this.
"Yoav Rubin" <yoav@il.ibm.com> wrote in message
news:ah6g26$nn4$1@rogue.oti.com...
> Hi
> i'm using the selection and marquee tools in my palette, and i was
> wandering is there a way to not use them at all (i.e., the user will not
> need to select Selection or Marquee from the palette), but the default
> behaviour will be some sort of unification between them, i.e., upon click
> there will be a selection behaviour, but if there was a mouse button down,
> and then draging, then the behavioiur will be as a marquee, creation a
> rectangle of selection.
> thanks
> yoav
>
|
|
|
Re: Unification of Selection and Connection tool [message #13985 is a reply to message #13981] |
Thu, 18 July 2002 15:55   |
Eclipse User |
|
|
|
Originally posted by: mfrose.caredatasystems.com
Okay, color me dense, but I can't figure out where or how the logic example
is making this happen.
Which is okay, because I'm after something a little different; a simple
click makes a Selection happen, which is fine, but I need a drag to start a
connection on the EditPart I'm pointed at. Is there any class/method in the
logic example to start me toward an answer? Does my entire EditPart need to
be a connection terminal for anything connection-related to happen?
advTHANKSance.
MFR
"Randy Hudson" <none@ibm.com> wrote in message
news:ah6j8u$q73$1@rogue.oti.com...
> The logic example does this.
>
> "Yoav Rubin" <yoav@il.ibm.com> wrote in message
> news:ah6g26$nn4$1@rogue.oti.com...
> > Hi
> > [...]i was
> > wandering is there a way to not use them at all (i.e., the user will not
> > need to select Selection or Marquee from the palette), but the default
> > behaviour will be some sort of unification between them, i.e., upon
click
> > there will be a selection behaviour, but if there was a mouse button
down,
> > and then draging, then the behavioiur will be as a marquee, creation a
> > rectangle of selection.
> > thanks
> > yoav
|
|
| | | | |
Re: Unification of Marquee and selection tool [message #14377 is a reply to message #14360] |
Sun, 21 July 2002 06:05  |
Eclipse User |
|
|
|
partially solved. it seems that in order to select an editpart, all of its
figure should be in the marked region. how can i change this behaviour to
be similar to the way the marquee behaves on the windows deaktop, i.e.,
even if part of the figure is in the marked region, the editpart will be
selected.
thanks
yoav
Yoav Rubin wrote:
> Hi
> i did as you suggested, but after i mark a region that includes several
> editparts, only one of them gets selected. does anyone knows what could be
> the problem?
> thanks
> yoav
> Gunnar Wagenknecht wrote:
> > Hi!
> > You must overwrite EditPart#getDragTracker(Request). My root edit part
> > simply returns a new MarqueDragTracker there.
> > Cu, Gunnar
|
|
|
Goto Forum:
Current Time: Mon Apr 28 05:18:21 EDT 2025
Powered by FUDForum. Page generated in 0.03208 seconds
|