[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Change decorator being undone

Hello,

I've installed an EditPolicy OPEN_ROLE in a connection to change the TargetDecoration and others properties when I double-click him.

My problem is when I do 'Ctrl+Z' the target decoration doesn't change but the others properties does it (because the properties I change it with a undoable command).

In the FAQ page there is a problem like mine to change the color line, it uses ChangePropertyValueRequest and it passes the property ID and its value. There is an ID_LINECOLOR but not an ID_LINEDECORATOR, so:

how can I change the target decoration with undone possibility?

Thanks in advance.