Reputation: 1577
In eclipse have a function that when I'm modifying a class that will implements a *
in the title like this:
And when I select Save button that *
is no more.
The question is I want add that function into my application but have no idea or any key word to search it on google. Any suggestion?
Upvotes: 0
Views: 47
Reputation: 23939
Implement IEditorPart interface in your own editor and override its isDirty() and doSave() methods. Send notifications about content changes to workbench with firePropertyChange() (with PROP_DIRTY argument). Don't forget to contribute your editor to org.eclipse.ui.editors extension point.
Upvotes: 3