X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.message.ui%2Fsrc%2Forg%2Fsimantics%2Fmessage%2Fui%2FLogView.java;h=b71cb3cded05f7de514060b789014186e9bb71d7;hp=ab0940960c2ba6a26073838c7ed22975d0d94984;hb=705bd6e9d2618a734b47c24611477c52d4ea731c;hpb=969bd23cab98a79ca9101af33334000879fb60c5 diff --git a/bundles/org.simantics.message.ui/src/org/simantics/message/ui/LogView.java b/bundles/org.simantics.message.ui/src/org/simantics/message/ui/LogView.java index ab0940960..b71cb3cde 100644 --- a/bundles/org.simantics.message.ui/src/org/simantics/message/ui/LogView.java +++ b/bundles/org.simantics.message.ui/src/org/simantics/message/ui/LogView.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.BufferedReader; @@ -149,7 +149,7 @@ import com.ibm.icu.text.SimpleDateFormat; * @author Tuukka Lehtonen * @see org.eclipse.ui.internal.views.LogView */ -@SuppressWarnings("deprecation") +@SuppressWarnings("deprecation") public class LogView extends ViewPart implements ILogListener { public static final int DEFAULT_EXPAND_LEVEL = 1; @@ -209,7 +209,7 @@ public class LogView extends ViewPart implements ILogListener { private boolean fFirstEvent = true; private TreeColumn fColumn1; - @SuppressWarnings("unused") + @SuppressWarnings("unused") private TreeColumn fColumn2; private TreeColumn fColumn3; @@ -594,7 +594,7 @@ public class LogView extends ViewPart implements ILogListener { return action; } - @SuppressWarnings("unused") + @SuppressWarnings("unused") private Action createTestAction() { Action action = new Action("Test") { public void run() { @@ -803,8 +803,8 @@ public class LogView extends ViewPart implements ILogListener { }); fFilteredTree.setInitialText(Messages.LogView_show_filter_initialText); fTree = fFilteredTree.getViewer().getTree(); - fTree.setLinesVisible(true); createColumns(fTree); + fTree.setLinesVisible(true); fFilteredTree.getViewer().setAutoExpandLevel(fMemento.getInteger(P_EXPAND_LEVEL).intValue()); fFilteredTree.getViewer().setContentProvider(new LogViewContentProvider(this)); fFilteredTree.getViewer().setLabelProvider(fLabelProvider = new LogViewLabelProvider(this));