Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » DirectEdit with doubleckick
DirectEdit with doubleckick [message #930387] Tue, 02 October 2012 09:13 Go to next message
Rui Domingues is currently offline Rui DominguesFriend
Messages: 194
Registered: October 2010
Senior Member

Which would be the easiest way to implement direct edit with doubleclick.

I've already directeditfeature. Can I somehow, reuse that in TooBehaviourFeature#getDoubleClickFeature(IDoubleClickContext context).

Thanks in advance
Re: DirectEdit with doubleckick [message #933716 is a reply to message #930387] Fri, 05 October 2012 09:19 Go to previous message
Raghava Rao is currently offline Raghava RaoFriend
Messages: 79
Registered: July 2009
Hello Rui,

you can create a Custom Feature, return the same getDoubleClickFeature(IDoubleClickContext context) method.

you can place the below code in execute method of the custom feature,then it automatically calls direct editing feature.

IDirectEditingInfo directEditingInfo = getFeatureProvider().getDirectEditingInfo();

Raghava Rao
Previous Topic:Remove align and match width buttons from coolbar
Next Topic:How Can I register Selection and Key Listeners for a shape
Goto Forum:

Current Time: Sun Jun 24 11:22:15 GMT 2018

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

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

Back to the top