Eclipse Java将更改保存在GraphicalEditor上
我需要为一个现有的Eclipse应用程序创建一个插件,该应用程序监听当前打开的图形编辑器中的更改,一旦编辑器变脏,保存更改。如果编辑器具有Eclipse Java将更改保存在GraphicalEditor上,java,eclipse,editor,Java,Eclipse,Editor,我需要为一个现有的Eclipse应用程序创建一个插件,该应用程序监听当前打开的图形编辑器中的更改,一旦编辑器变脏,保存更改。如果编辑器具有IEditorPart,则可以使用IEditorPart.addPropertyListener侦听IEditorPart.PROP\u DIRTY属性更改
IEditorPart
,则可以使用IEditorPart.addPropertyListener
侦听IEditorPart.PROP\u DIRTY
属性更改