Skip to main content



      Home
Home » Eclipse Projects » GEF » Left Click on EditParts
Left Click on EditParts [message #81677] Mon, 02 June 2003 05:52 Go to next message
Eclipse UserFriend
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 #81786 is a reply to message #81677] Mon, 02 June 2003 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.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.
>
>
Re: Left Click on EditParts [message #81889 is a reply to message #81786] Wed, 04 June 2003 03:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: idan_zak2.walla.co.il

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.
> >
> >
>
>
Re: Left Click on EditParts [message #81964 is a reply to message #81889] Wed, 04 June 2003 10:08 Go to previous message
Eclipse UserFriend
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.
> > >
> > >
> >
> >
>
>
Previous Topic:Keyboard shortcuts not working in multipageeditor
Next Topic:FWD: what can cause removeNotify to be called twice
Goto Forum:
  


Current Time: Fri Nov 07 23:26:36 EST 2025

Powered by FUDForum. Page generated in 0.03866 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top