| Left Click on EditParts [message #81677] |
Mon, 02 June 2003 05:52  |
Eclipse User |
|
|
|
Originally posted by: idan_zak2.walla.co.il
Hi,
in GEF a left-click action on an EditPart allways change the editor to view
the EditPart's left side.
I have a big Container and I don't want that reaction to leftClick on it, so
that the editor will keep showing the same area.
Does someone knows how can i disable the editor "jump"?
thanks in advance,
Idan.
|
|
|
|
|
| Re: Left Click on EditParts [message #81964 is a reply to message #81889] |
Wed, 04 June 2003 10:08  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You will have to override it at the viewer, or at the Select..Tracker.
Also, you could open a bugzilla for the next release requesting the ability
to configure the way in which ScrollGraphicalViewer performs reveal.
You should probably override it at the viewer, but don't make it do nothing,
make it do whatever works best for your large EditParts. I'm guessing you
have "swim lanes"?
"idan" <idan_zak2@walla.co.il> wrote in message
news:bbk51c$5oo$1@rogue.oti.com...
> But how can i prevent this method to be called? should i overload it with
> empty one?
>
> "Randy Hudson" <none@us.ibm.com> wrote in message
> news:bbfn2q$mnt$1@rogue.oti.com...
> > See ScrollingGraphicalViewer.reveal(). This method is called from
> > SelectEditPartTracker.handleButtonUp().
> >
> > "idan" <idan_zak2@walla.co.il> wrote in message
> > news:bbf321$639$1@rogue.oti.com...
> > > Hi,
> > > in GEF a left-click action on an EditPart allways change the editor to
> > view
> > > the EditPart's left side.
> > > I have a big Container and I don't want that reaction to leftClick on
> it,
> > so
> > > that the editor will keep showing the same area.
> > >
> > > Does someone knows how can i disable the editor "jump"?
> > >
> > > thanks in advance,
> > > Idan.
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03866 seconds