|
|
|
Re: Suppress PropertySheet Undo/Redo [message #226125 is a reply to message #225657] |
Mon, 06 November 2006 06:22 |
Eclipse User |
|
|
|
Originally posted by: none.unknown.com
Don't use UndoablePropertySheetEntry. Override
GraphicalEditor#getAdapter().
"Christian Seitz" <chr.seitz@gmx.de> wrote in message
news:22240347.1162390761635.JavaMail.root@cp1.javalobby.org...
> Hi,
>
> is there any way to suppress the undo/redo functionality the property
> sheet provides?
>
> I have several properties of model elements in my GEF editor that can be
> edited through the property sheet. The setPropertyValue method of my
> PropertySources calls GEF commands, which change the properties in the
> model and provide the undo/redo functionality, so I don't need (and
> don't want, because the change of properties is too complex) the undo/redo
> funcionality the PropertySheet creates. Is there any way I could realize
> this?
>
> Thanks for your help,
>
> Christian
|
|
|
Powered by
FUDForum. Page generated in 0.02440 seconds