Bug 2984 - [EditorMgmt] EC DCR: Don't automatically open editor when file created (1GLC70E)
Summary: [EditorMgmt] EC DCR: Don't automatically open editor when file created (1GLC70E)
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Douglas Pollock CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2001-10-10 22:47 EDT by Nick Edgar CLA
Modified: 2005-08-04 13:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2001-10-10 22:47:16 EDT
From EC post: "How do I prevent new File wizard from opening the Editor when finished?"
by Randy Hudson on Oct. 5, 2001.

When I create a new file, it gets opened automatically.  How do I prevent
this?


NOTES:

NE (10/9/01 12:08:27 PM)
If you're using the simple file wizard, this behaviour is hardcoded in
BasicNewFileResourceWizard.performFinish().
There is no way to prevent this behaviour, other than by creating your own
wizard.
What's your scenario?

NE (10/9/01 12:08:35 PM)
RH says:
I was curious to know if I could prevent this since it has the overhead of
loading the plugin.
Maybe creating a wizard page is the answer for now.

NE (10/9/01 12:08:40 PM)
So you want to be able to create new files, but not edit them right away.
I assume you'll go back and edit them later?

Would it suffice to add a global preference to enable/disable automatic
opening of editors when files are created?

NE (10/9/01 12:08:49 PM)
RH says:
Sounds good to me.  I just thought of a more valid case:  The file type
being created has no internal Editor, only extenal, such as an Image file.

Should wizard writers be able to ignore/go against this preference?  Can
they have access to it so as to respect the setting?

NE (10/9/01 12:10:34 PM)
The pref should be made public, with guidelines suggesting that wizards respect it.
Comment 1 Nick Edgar CLA 2002-01-27 21:43:08 EST
Defer
Comment 2 Randy Giffen CLA 2002-08-08 16:31:56 EDT
Reopen for investigation
Comment 3 Douglas Pollock CLA 2004-09-23 15:19:08 EDT
Randy: is this still a problem for you? 
Comment 4 Randy Hudson CLA 2004-09-23 15:46:27 EDT
This bug is not directly affecting the stuff on work on now.  Thanks.
Comment 5 Douglas Pollock CLA 2004-09-23 15:55:22 EDT
Moving to the inbox and marking as assigned.  If anyone wants in the future, 
hopefully someone will find this one.... 
Comment 6 Douglas Pollock CLA 2005-08-04 13:59:21 EDT
There are no plans to address this problem at this time.