Direct editing for connection decorators? [message #1051902] |
Mon, 29 April 2013 06:54  |
Eclipse User |
|
|
|
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?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04507 seconds