-/*******************************************************************************\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.BufferedReader;
* @author Tuukka Lehtonen
* @see org.eclipse.ui.internal.views.LogView
*/
-@SuppressWarnings("deprecation")\r
+@SuppressWarnings("deprecation")
public class LogView extends ViewPart implements ILogListener {
public static final int DEFAULT_EXPAND_LEVEL = 1;
private boolean fFirstEvent = true;
private TreeColumn fColumn1;
- @SuppressWarnings("unused")\r
+ @SuppressWarnings("unused")
private TreeColumn fColumn2;
private TreeColumn fColumn3;
return action;
}
- @SuppressWarnings("unused")\r
+ @SuppressWarnings("unused")
private Action createTestAction() {
Action action = new Action("Test") {
public void run() {
});
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));