Skip to main content



      Home
Home » Modeling » Graphiti » Direct editing for connection decorators?
Direct editing for connection decorators? [message #1051902] Mon, 29 April 2013 06:54 Go to next message
Eclipse UserFriend
Hello,
is it possible to add direct editing functionality, directly after object creation, for connection decorators?
My connections use a decorator to show their name.
I've written a direct edit feature for this, but iam not able to use it directly after the creation of connections.
In the CreateFeature:
getFeatureProvider().getDirectEditingInfo().setActive(true);
is used
And i think the AddFeature also correct?
IDirectEditingInfo directEditingInfo = getFeatureProvider().getDirectEditingInfo();
directEditingInfo.setMainPictogramElement(connection); directEditingInfo.setPictogramElement(textDecoratorName);
directEditingInfo.setGraphicsAlgorithm(text);

But the getDirectEditingFeature method in the FeatureProvider is not even called.
Any Ideas?
Re: Direct editing for connection decorators? [message #1052782 is a reply to message #1051902] Tue, 30 April 2013 10:18 Go to previous message
Eclipse UserFriend
A R,

this appears to be a gap. Would you please file a bugzilla for that?

Michael
Previous Topic:Shape resize behaviour
Next Topic:Splitting connections
Goto Forum:
  


Current Time: Thu Jul 24 14:22:06 EDT 2025

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

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

Back to the top