Hello,
I want to change some attributes of the nodes when I delete the link that
binds them. Searching in this group I found a possible solution, I adapted
to my case but nothing happens and no error is showed.
In my XXXItemSemanticEditPolicy:
protected Command getDestroyElementCommand(DestroyElementRequest req) {
CompoundCommand cc = new CompoundCommand();
cc.add((new ICommandProxy(new
RelationFeatureSetFather(getEditingDomain(), req))));
RelationFeatureSetFather extends AbstractTransactionalCommand and within
doExecuteWithResult I do a SetCommand.create(xx, xx, xx, xx, xx).execute
but nothing happens.
Where is the mistake?
PD. I pass the request to the AbstractTransactionalCommand because I don't
know how to get access to the EditPart modified and I've seen many
examples where only pass the EditingDomain. How do I get access?