Community
Participate
Working Groups
When an Editor part is closed and its isDirty method returns true, Eclipse displays the confirmation message "'xxxxxx' has been modified. Save changes?". We would like to have a feature to override the message. Our editor is not a regular "editor". It represents a connection with a server. It does a kind of edit operations also, but we would like to display a message like "Do you really want to close the server connection?" in place of the current default message.
I can't think of a way in which this would work. If multiple dirty editors are open, then what do we do? If we do do this, I think we'd need to provide some kind of EditorPart.getSaveMessage or EditorPart.getSaveDialog.
Moving Dougs bugs
As per http://wiki.eclipse.org/Platform_UI/Bug_Triage_Change_2009
Remy is now responsible for watching the [EditorMgmt] component area.
Tami, does implementing ISaveablePart2 help solve your problem? http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/ui/ISaveablePart2.html
> Tami, does implementing ISaveablePart2 help solve your problem? Yes, I think so. Tami
(In reply to comment #6) > > Tami, does implementing ISaveablePart2 help solve your problem? > > Yes, I think so. Great, thanks for letting us know. If it proves to be insufficient, please feel free to reopen the bug with your reasoning.