|
Re: No connection handles visible [message #1721726 is a reply to message #1721717] |
Fri, 29 January 2016 13:42 |
|
Le 29/01/2016 13:18, Axel Guckelsberger a écrit :
> Hi all,
>
Hi,
> I've noticed that no connection handles appear when hovering a diagram
> node. Is this a different behaviour compared to raw GMF oder is there
> anything to do to enable this functionality?
>
This feature has been disabled in Sirius with code
removeEditPolicy(EditPolicyRoles.CONNECTION_HANDLES_ROLE);
in Sirius edit parts(AbstractDiagramContainerEditPart,
AbstractDiagramListEditPart, DNode*EditPart).
It is maybe possible to re-activate them by using the extension point
"org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders", to provide
again the ConnectionHandleEditPolicy (like in
org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.createDefaultEditPolicies()).
But there are probably some additional constraints with the
preconditions (and/or extra mappings) defined in the VSM for the edge
creation tools.
> Thanks,
> Axel
Regards,
--
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Laurent Redor - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: No connection handles visible [message #1721737 is a reply to message #1721726] |
Fri, 29 January 2016 15:14 |
Axel Guckelsberger Messages: 354 Registered: July 2009 |
Senior Member |
|
|
Hi Laurent,
thank you for elaborating.
I can live with that. Just wanted to know whether I may have broken
something.
Best regards,
Axel
Am 29.01.2016 um 14:42 schrieb Laurent Redor:
> Le 29/01/2016 13:18, Axel Guckelsberger a écrit :
>> Hi all,
>>
>
> Hi,
>
>> I've noticed that no connection handles appear when hovering a diagram
>> node. Is this a different behaviour compared to raw GMF oder is there
>> anything to do to enable this functionality?
>>
>
> This feature has been disabled in Sirius with code
> removeEditPolicy(EditPolicyRoles.CONNECTION_HANDLES_ROLE);
> in Sirius edit parts(AbstractDiagramContainerEditPart,
> AbstractDiagramListEditPart, DNode*EditPart).
>
> It is maybe possible to re-activate them by using the extension point
> "org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders", to provide
> again the ConnectionHandleEditPolicy (like in
> org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.createDefaultEditPolicies()).
>
>
> But there are probably some additional constraints with the
> preconditions (and/or extra mappings) defined in the VSM for the edge
> creation tools.
>
>> Thanks,
>> Axel
>
> Regards,
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02819 seconds