]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.message.ui/src/org/simantics/message/ui/EventDetailsDialog.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.message.ui / src / org / simantics / message / ui / EventDetailsDialog.java
index 8cff37aa87b9d3ba7d593e193a1f0768a728c7c4..9319a38d5dda30e0c1e36394b92adaaae458a0bb 100644 (file)
@@ -1,14 +1,14 @@
-/*******************************************************************************\r
- * Copyright (c) 2007, 2010 Association for Decentralized Information Management\r
- * in Industry THTH ry.\r
- * All rights reserved. This program and the accompanying materials\r
- * are made available under the terms of the Eclipse Public License v1.0\r
- * which accompanies this distribution, and is available at\r
- * http://www.eclipse.org/legal/epl-v10.html\r
- *\r
- * Contributors:\r
- *     VTT Technical Research Centre of Finland - initial API and implementation\r
- *******************************************************************************/\r
+/*******************************************************************************
+ * Copyright (c) 2007, 2010 Association for Decentralized Information Management
+ * in Industry THTH ry.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     VTT Technical Research Centre of Finland - initial API and implementation
+ *******************************************************************************/
 package org.simantics.message.ui;
 
 import java.io.IOException;
@@ -384,14 +384,14 @@ public class EventDetailsDialog extends TrayDialog {
 
                                if (stack != null) {
                                        stack = filterStack(stack);
-                                       detailsText.setText("<pre>" + stack + "</pre>");                
+                                       detailsText.setText("<pre>" + stack + "</pre>"); //$NON-NLS-1$ //$NON-NLS-2$
                                        detailsTextDescription.setText(Messages.EventDetailsDialog_exception);
                                } else {
-                                       detailsText.setText("<pre>" + Messages.EventDetailsDialog_noDetailedMessage + "</pre>");
-                               }                               
-                       }               
+                                       detailsText.setText("<pre>" + Messages.EventDetailsDialog_noDetailedMessage + "</pre>"); //$NON-NLS-1$ //$NON-NLS-2$
+                               }
+                       }
 
-                       LogSession logSession = logEntry.getSession();\r
+                       LogSession logSession = logEntry.getSession();
                        String session = logSession != null ? logSession.getSessionData() : null;
                        if (session != null) {
                                sessionDataText.setText(session);
@@ -768,7 +768,7 @@ public class EventDetailsDialog extends TrayDialog {
                    public void changing(LocationEvent event) {
                        //System.out.println("changing: " + event);
                        String location = event.location;
-                       if ("about:blank".equals(location)) {
+                       if ("about:blank".equals(location)) { //$NON-NLS-1$
                            event.doit = true;
                        } else {
                            event.doit = false;