Chaning properties don't make dirty [message #168340] |
Tue, 15 February 2005 03:45  |
Eclipse User |
|
|
|
Hi! I need a little hint again!
This isn't 100% GEF specific I know, sorry.
My model objects implement a few properties with IPropertySource. Most of
these properties don't
have any visual effect, like descriptions for example. Now, if I change a
description property,
my editor doesn't get dirty and I can't save. I have to move one of the
figures a bit to make
saving possible.
How can this be solved?
|
|
|
|
|
|
Re: Chaning properties don't make dirty [message #168442 is a reply to message #168340] |
Tue, 15 February 2005 23:42  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
GEF provides an undoable propertysheet entry. This entry creates commands
which dirty the command stack, and consequently the editor.
I think the method is GEFPlugin#createUndoablePropertySheetEntry() Search
for references to this method.
"Roger Villars" <roger.villars@mimacom.ch> escreveu na mensagem
news:cuscim$u7l$1@www.eclipse.org...
> Hi! I need a little hint again!
>
> This isn't 100% GEF specific I know, sorry.
>
> My model objects implement a few properties with IPropertySource. Most of
> these properties don't
> have any visual effect, like descriptions for example. Now, if I change a
> description property,
> my editor doesn't get dirty and I can't save. I have to move one of the
> figures a bit to make
> saving possible.
>
> How can this be solved?
>
|
|
|
Powered by
FUDForum. Page generated in 0.10265 seconds