Skip to main content



      Home
Home » Eclipse Projects » GEF » ConnectionEditPolicy and requests besides DELETE
ConnectionEditPolicy and requests besides DELETE [message #132181] Fri, 14 May 2004 10:29 Go to next message
Eclipse UserFriend
Originally posted by: cwhite.ic.net

The ConnectionEditPolicy JavaDoc says that the policy "should not be used to
show feedback or interact with the host's visuals in any way".

However, I noticed that I if I wanted my connection edit policy to
understand any requests besides DELETE, I had to add show and erase source
fedback methods. I notice that the flow example also has these methods on
its connection edit policy (TransitionEditPolicy).

What is happening here? Should I add a different edit policy to my
connection edit part if I want it to understand other requests?
Re: ConnectionEditPolicy and requests besides DELETE [message #132437 is a reply to message #132181] Mon, 17 May 2004 13:00 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

This comment is probably stale. The possiblity was that you would share an
EditPolicy implementation in both the graphical and tree viewers. Of course
in the Tree there are no figures. But connections typically aren't
displayed in the outline anyway, so this is not really valid.


"Chris White" <cwhite@ic.net> wrote in message
news:c82hbl$mfh$1@eclipse.org...
> The ConnectionEditPolicy JavaDoc says that the policy "should not be used
to
> show feedback or interact with the host's visuals in any way".
>
> However, I noticed that I if I wanted my connection edit policy to
> understand any requests besides DELETE, I had to add show and erase source
> fedback methods. I notice that the flow example also has these methods on
> its connection edit policy (TransitionEditPolicy).
>
> What is happening here? Should I add a different edit policy to my
> connection edit part if I want it to understand other requests?
>
>
Previous Topic:GEF with eclipse 3.0 M08
Next Topic:Gef: how to make some Editparts fixed on screen, even when scrolling ?
Goto Forum:
  


Current Time: Thu Jul 17 19:19:13 EDT 2025

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

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

Back to the top