Bug 314149

Summary: [api] Allow to plug-in custom 'Save As' dialog into text editors
Product: [Eclipse Project] Platform Reporter: Ed Willink <ed>
Component: TextAssignee: Platform-Text-Inbox <platform-text-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5 CC: daniel_megert
Version: 3.5Keywords: api
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Ed Willink CLA 2010-05-24 13:38:18 EDT
If a text file is to be SavedAs to an alternate format, it would be nice to put up a SaveAs dialog that identified the format, explained it and offered a relevant file extension.

This is not currently possible, since the creation, configuration and opening of the SaveAsDialog is hardwired in AbstractDecoratedTextEditor.performSaveAs.

It is possible to clone performSaveAs, but performSaveAs has non-trivial important functionality so cloning risks hazards in future releases.

Please support customisation, perhaps by an optional ISaveAsDialogFactory argument.
Comment 1 Dani Megert CLA 2010-05-25 02:43:03 EDT
Note that the SaveAsDialog itself is not part of Platform Text and it is not allowed to be extended.
Comment 2 Dani Megert CLA 2012-11-28 08:46:58 EST
See also bug 87863.