Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Direct editing for connection decorators?
Direct editing for connection decorators? [message #1051902] Mon, 29 April 2013 10:54 Go to next message
A R is currently offline A RFriend
Messages: 5
Registered: April 2013
Junior Member
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 14:18 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1635
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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: Wed Nov 26 13:23:52 GMT 2014

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

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