[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: Another PropertySheetViewer bug

> The undo on our page is the same as the one on our Editor, and can undo 
all changes
> made to the application model.  Of course, we couldn't get accelerator's 
to
> work since that is impossible, but we do have the actions on the local
> Toolbar.

If the problem is that the undo/redo accelerators are always being sent to 
the active cell editor then you could implement your own
CellEditorActionHandler to ensure that these accelerators are instead 
targeted to the specific actions on your local toolbar.

> From this page, selecting Undo/Redo has the potential to modify the 
selected
> objects that were sent to the PropertySheetViewer.  When this happens, 
the
> property sheet viewer does not update with the new selection.

Since your editor is providing the page, perhaps you could explicitly 
obtain the editor selection and refresh the page at the end of your 
undo/redo action.