-/*******************************************************************************\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;
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);
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;