Open request eaten problem [message #166639] |
Thu, 03 January 2008 08:31 |
Eclipse User |
|
|
|
Originally posted by: zzhangh.cn.ibm.com
Hi,
I added an editpolicy with OPEN_ROLE to open a dialog when the node is
double clicked, the node has a label on top of it, which is generated by
"Feature Label Mapping".
I found if I double click on the label, the dialog won't open, instead
the label got selected. If click elsewhere on the node, it works fine.
So is there any way to prevent the label eating the request? Because if
the label takes up the node area, there is nowhere I can open the dialog.
|
|
|
Re: Open request eaten problem [message #166680 is a reply to message #166639] |
Thu, 03 January 2008 10:41 |
Boris Blajer Messages: 217 Registered: July 2009 |
Senior Member |
|
|
Hi Hao Zhang,
You may add an edit policy to the label edit part which will simply
delegate OPEN_ROLE requests to its parent. I guess you will also need a
similar delegation in the performRequest() method.
Best regards,
Boris
Hao Zhang wrote:
> Hi,
> I added an editpolicy with OPEN_ROLE to open a dialog when the node is
> double clicked, the node has a label on top of it, which is generated by
> "Feature Label Mapping".
>
> I found if I double click on the label, the dialog won't open, instead
> the label got selected. If click elsewhere on the node, it works fine.
>
> So is there any way to prevent the label eating the request? Because if
> the label takes up the node area, there is nowhere I can open the dialog.
|
|
|
Powered by
FUDForum. Page generated in 0.03036 seconds