|
Lines 23-28
Link Here
|
| 23 |
import org.eclipse.rwt.internal.lifecycle.*; |
23 |
import org.eclipse.rwt.internal.lifecycle.*; |
| 24 |
import org.eclipse.rwt.internal.service.*; |
24 |
import org.eclipse.rwt.internal.service.*; |
| 25 |
import org.eclipse.rwt.internal.theme.*; |
25 |
import org.eclipse.rwt.internal.theme.*; |
|
|
26 |
import org.eclipse.rwt.internal.util.EncodingUtil; |
| 26 |
import org.eclipse.rwt.internal.util.NumberFormatUtil; |
27 |
import org.eclipse.rwt.internal.util.NumberFormatUtil; |
| 27 |
import org.eclipse.rwt.lifecycle.*; |
28 |
import org.eclipse.rwt.lifecycle.*; |
| 28 |
import org.eclipse.swt.dnd.DragSource; |
29 |
import org.eclipse.swt.dnd.DragSource; |
|
Lines 239-247
Link Here
|
| 239 |
? oldExitConfirmation != null |
240 |
? oldExitConfirmation != null |
| 240 |
: !exitConfirmation.equals( oldExitConfirmation ); |
241 |
: !exitConfirmation.equals( oldExitConfirmation ); |
| 241 |
if( hasChanged ) { |
242 |
if( hasChanged ) { |
| 242 |
String exitConfirmationStr = exitConfirmation == null |
243 |
String exitConfirmationStr = "null"; |
| 243 |
? "null" |
244 |
if( exitConfirmation != null ) { |
| 244 |
: "\"" + exitConfirmation + "\""; |
245 |
exitConfirmationStr = "\"" + EncodingUtil.escapeDoubleQuoted( exitConfirmation ) + "\""; |
|
|
246 |
} |
| 245 |
String code = "qx.core.Init.getInstance().getApplication()" |
247 |
String code = "qx.core.Init.getInstance().getApplication()" |
| 246 |
+ ".setExitConfirmation( " |
248 |
+ ".setExitConfirmation( " |
| 247 |
+ exitConfirmationStr |
249 |
+ exitConfirmationStr |