TabbedPropertySheetPage with CommandStack [message #244944] |
Thu, 14 August 2008 16:01 |
Eclipse User |
|
|
|
Originally posted by: andreas-scharf.gmx.de
Hi,
I'm currently switching from PropertySheetPage to
TabbedPropertySheetPage. Everything works fine, but I noticed that
changes made in the tabbed properties don't let the gef based editor get
dirty so saving is not possible.
Is there a built-in way of using the gef commandstack within the
TabbedPropertySheetPage? I've looked at the tabbed logic example in the
cvs, where the problem is the same. I can adjust all values but the
editor doesn't get dirty.
Cheers,
Andreas
|
|
|
|
Re: TabbedPropertySheetPage with CommandStack [message #244979 is a reply to message #244971] |
Mon, 18 August 2008 13:39 |
Eclipse User |
|
|
|
Originally posted by: andreas-scharf.gmx.de
Marco,
it's clear why the dirty flag isn't set. But in case of a "normal"
PropertySheetPage I can set the RootEntry to an
UndoablePropertySheetEntry which takes my GEF commandStack as argument
in the constructor.
So the question was if there's way which I haven't seen yet to also use
the GEF commandstack to execute those commands.
Cheers,
Andreas
marco schrieb:
> Hi.
>
> The dirty property of the GEF editors changes only if you do, redo or
> undo commands.
>
> I think the best way is create and execute specified command when the
> user adjust the property values on TabbedPropertySheetPage.
>
> cheers
> Marco.
>
> Andreas Scharf ha scritto:
>> Hi,
>>
>> I'm currently switching from PropertySheetPage to
>> TabbedPropertySheetPage. Everything works fine, but I noticed that
>> changes made in the tabbed properties don't let the gef based editor
>> get dirty so saving is not possible.
>>
>> Is there a built-in way of using the gef commandstack within the
>> TabbedPropertySheetPage? I've looked at the tabbed logic example in
>> the cvs, where the problem is the same. I can adjust all values but
>> the editor doesn't get dirty.
>>
>> Cheers,
>> Andreas
|
|
|
|
Powered by
FUDForum. Page generated in 0.02848 seconds