Bug 314149 - [api] Allow to plug-in custom 'Save As' dialog into text editors
Summary: [api] Allow to plug-in custom 'Save As' dialog into text editors
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2010-05-24 13:38 EDT by Ed Willink CLA
Modified: 2012-11-28 08:46 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.