How to make a Connection selectable? [message #189435] |
Wed, 27 July 2005 14:32 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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?
|
|
|
Powered by
FUDForum. Page generated in 0.03352 seconds