[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: How to enable the "Revert" menu item from the "File" menu?

Your in the wrong newsgroup...post to eclipse.platform  You can also open a
problem report against PDE for the File > Revert not being hook up in their
plugin.xml editor.

Simon :-)

"Heather" <heather@xxxxxxxxxxx> wrote in message
news:b9toa2$949$1@xxxxxxxxxxxxxxxx
> Hi,
>
> If you open some "plugin.xml" file, go to the source page, make some
> change there, open the "File" menu and you will notice that the "Save ..."
> menu item is enabled but the "Revert" item is not. I understand that
> "Revert" is available from the pop-up menu in the editor, but I'm
> wondering if the "Revert" menu item from the "File" menu is fixable.
>
> I developed a customized multi-page editor plug-in and whenever there is a
> change in the editor, I do
> "EditorPart.firePropertyChange(EditorPart.PROP_DIRTY)" to report the
> editor change to the workbench. I assume the "Revert" menu item should be
> turned on just like the "Save" item, but it isn't.
>
> However the "Revert" menu item does get enabled when there is a change in
> a regular editor in Eclipse.
>
> Does anyone have an idea about how to fix this? I'm using Eclipse 2.0.1.
>
> Thanks!
>
> Heather
>
>
>