Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 57272 - AlwaysNeverDialog should have "Eclipse standard" look
Summary: AlwaysNeverDialog should have "Eclipse standard" look
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Darin Swanson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 60268 (view as bug list)
Depends on: 54347
Blocks:
  Show dependency tree
 
Reported: 2004-04-02 12:35 EST by Kevin Barnes CLA
Modified: 2004-05-03 14:45 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Barnes CLA 2004-04-02 12:35:00 EST
The AlwaysNeverDialog should have a more standard Eclipse look. The buttons 
should be Yes, No, and Cancel and there should be a "Don't ask me again" check 
box.
The functional equivalent of the Always button should be Yes + check box 
selected, and Never would be No + check box selected.
Comment 1 Kevin Barnes CLA 2004-04-14 14:14:56 EDT
Doug, what was the outcome of all the activity on the mail lists about this 
issue? Is there already (or ever going to be) a reusable component in jface, 
or is every team on their own?
Comment 2 Douglas Pollock CLA 2004-04-15 10:30:06 EDT
Please see Bug 54347.  This is on my list of items to do, but it there are more 
important things to do for 3.0.  It is unlikely that it will be ready by the 
end of M9, but you never know.... 
Comment 3 Kevin Barnes CLA 2004-04-24 00:23:01 EDT
Created UserPreferencePromptDialog in org.eclipse.debug.internal.ui.preferences. Most of the code was 
borrowed from MessageDialogWithToggle in  ui.ide.dialogs - mainly added support for an optional 
preference store to be passed in. 

The "There are breakpoints in your workspace, did you want to relaunch in Debug Mode" dialog that 
you see from time to time has been replaced with UserPreferencePromptDialog. Will wait for result of 
bug 54347 before porting other users of AlwaysNeverDialog to UserPreferencePromptDialog.

Doug, is this something that the UI team would consider making available as API? If you'd like to 
suggest improvements, I'd be willing to work with you to make this a platform solution instead of a 
debug specific one.
Comment 4 Douglas Pollock CLA 2004-04-26 09:53:40 EDT
Bug 54347.  We are interested. 
Comment 5 Kevin Barnes CLA 2004-04-28 13:24:18 EDT
*** Bug 60268 has been marked as a duplicate of this bug. ***
Comment 6 Darin Swanson CLA 2004-04-29 16:46:17 EDT
Kevin can you jump on the new jface dialog as soon as possible.
Comment 7 Kevin Barnes CLA 2004-04-30 15:25:47 EDT
Released fix to bring move all Debug team code from AlwaysNeverDialog to new 
jface dialog (MessageDialogWithToggle).

changes to:
org.eclipse.debug.internal.ui.AlwaysNeverDialog - removed
DebugUIPlugin
CompileErrorPromptStatusHandler
DebugModePromptStatusHandler
LaunchConfigurationsMessages.properties
PerspectiveManager
DebugPreferencePage
LaunchingPreferencePage
org.eclipse.debug.internal.ui.preferences.UserPreferencePromptDialog - removed
ProjectCreationDecorator
PreLaunchBreakpointTest
Comment 8 Kevin Barnes CLA 2004-04-30 15:26:37 EDT
Darins, please verify
Comment 9 Darin Swanson CLA 2004-05-03 14:45:56 EDT
Removed the AlwaysNeverDialog nls keys from DebugUIMessages.