comparison dwtx/jface/dialogs/DialogMessageArea.d @ 192:c3583c6ec027

Added missing default cases for switch statements
author Frank Benoit <benoit@tionex.de>
date Mon, 03 Nov 2008 22:52:26 +0100
parents 2b36428a5ce4
children
comparison
equal deleted inserted replaced
191:1ef729510ed6 192:c3583c6ec027
168 break; 168 break;
169 case IMessageProvider.ERROR: 169 case IMessageProvider.ERROR:
170 newImage = JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_ERROR); 170 newImage = JFaceResources.getImage(Dialog.DLG_IMG_MESSAGE_ERROR);
171 171
172 break; 172 break;
173 default:
173 } 174 }
174 messageComposite.setVisible(true); 175 messageComposite.setVisible(true);
175 titleLabel.setVisible(false); 176 titleLabel.setVisible(false);
176 // Any more updates required? 177 // Any more updates required?
177 // If the message text equals the tooltip (i.e. non-shortened text is the same) 178 // If the message text equals the tooltip (i.e. non-shortened text is the same)