X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.message.ui%2Fsrc%2Forg%2Fsimantics%2Fmessage%2Fui%2FEventDetailsDialog.java;h=9319a38d5dda30e0c1e36394b92adaaae458a0bb;hb=2ed2f09de0043bbf98a5b727854bd93a02b204ab;hp=8cff37aa87b9d3ba7d593e193a1f0768a728c7c4;hpb=969bd23cab98a79ca9101af33334000879fb60c5;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.message.ui/src/org/simantics/message/ui/EventDetailsDialog.java b/bundles/org.simantics.message.ui/src/org/simantics/message/ui/EventDetailsDialog.java index 8cff37aa8..9319a38d5 100644 --- a/bundles/org.simantics.message.ui/src/org/simantics/message/ui/EventDetailsDialog.java +++ b/bundles/org.simantics.message.ui/src/org/simantics/message/ui/EventDetailsDialog.java @@ -1,14 +1,14 @@ -/******************************************************************************* - * 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 - *******************************************************************************/ +/******************************************************************************* + * 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("
" + stack + "
"); + detailsText.setText("
" + stack + "
"); //$NON-NLS-1$ //$NON-NLS-2$ detailsTextDescription.setText(Messages.EventDetailsDialog_exception); } else { - detailsText.setText("
" + Messages.EventDetailsDialog_noDetailedMessage + "
"); - } - } + detailsText.setText("
" + Messages.EventDetailsDialog_noDetailedMessage + "
"); //$NON-NLS-1$ //$NON-NLS-2$ + } + } - LogSession logSession = logEntry.getSession(); + 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;