Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to make a Connection selectable?
How to make a Connection selectable? [message #189435] Wed, 27 July 2005 14:32 Go to next message
Eclipse UserFriend
Originally posted by: wudong.liu.gmail.com

Hi, all
I create a AbstractConnectionEditPart, how to make it selectable? I
install a ConnectionEndpointEditPolicy using the following line:
installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE,
new ConnectionEndpointEditPolicy());
It's enough? but it still remain unselectable.
What i am missing?
Re: How to make a Connection selectable? [message #189470 is a reply to message #189435] Wed, 27 July 2005 15:38 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

See WireEndpointEditPolicy in the logic example to see how it highlights the
selection.

"Wudong Liu" <wudong.liu@gmail.com> wrote in message
news:dc85uc$4vk$1@news.eclipse.org...
> Hi, all
> I create a AbstractConnectionEditPart, how to make it selectable? I
> install a ConnectionEndpointEditPolicy using the following line:
> installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE,
> new ConnectionEndpointEditPolicy());
> It's enough? but it still remain unselectable.
> What i am missing?
Previous Topic:Palette Tools Malfunction While Zooming
Next Topic:java.lang.ExceptionInInitializerError with PaletteView
Goto Forum:
  


Current Time: Tue Apr 23 15:37:43 GMT 2024

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

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

Back to the top