From 25b209e441b65373c3f868b4a7213a2ee566ae4c Mon Sep 17 00:00:00 2001 From: Martin Oberhuber Date: Tue, 8 Jul 2008 16:28:34 +0000 Subject: [PATCH] [cleanup] Fix Copyright Headers --- .../actions/ShowTerminalConnectionAction.java | 23 ++++++++-------- .../terminal/actions/TerminalActionPin.java | 9 ++----- .../actions/TerminalActionRemove.java | 9 ++----- .../TerminalActionSelectionDropDown.java | 4 +-- .../terminal/view/TerminalViewConnection.java | 26 +++++++++---------- .../view/TerminalViewControlDecorator.java | 14 +++++----- 6 files changed, 38 insertions(+), 47 deletions(-) diff --git a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/ShowTerminalConnectionAction.java b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/ShowTerminalConnectionAction.java index b92846dd8ab..cf456561772 100644 --- a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/ShowTerminalConnectionAction.java +++ b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/ShowTerminalConnectionAction.java @@ -1,12 +1,13 @@ /******************************************************************************* - * Copyright (c) 2008 Wind River Systems, Inc. and others. - * 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: - * Michael Scharf (Wind River) - initial API and implementation + * Copyright (c) 2000, 2008 IBM Corporation and others. + * 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: + * IBM Corporation - initial API and implementation + * Michael Scharf (Wind River) - [172483] Adapted from org.eclipse.ui.console/ShowConsoleAction *******************************************************************************/ package org.eclipse.tm.internal.terminal.actions; @@ -23,10 +24,10 @@ public class ShowTerminalConnectionAction extends Action { private final ITerminalViewConnectionManager fConnectionManager; /** - * Constructs an action to display the given console. + * Constructs an action to display the given terminal. * - * @param manager the console view in which the given console is contained - * @param connection the console + * @param manager the terminal multi-view in which the given terminal connection is contained + * @param connection the terminal view connection */ public ShowTerminalConnectionAction(ITerminalViewConnectionManager manager, ITerminalViewConnection connection) { super(quoteName(buildName(manager,connection)), AS_RADIO_BUTTON); diff --git a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionPin.java b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionPin.java index d428dd226d0..8c09eeba904 100644 --- a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionPin.java +++ b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionPin.java @@ -5,13 +5,8 @@ * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * - * Initial Contributors: - * The following Wind River employees contributed to the Terminal component - * that contains this file: Chris Thew, Fran Litterio, Stephen Lamb, - * Helmut Haigermoser and Ted Williams. - * - * Contributors: - * Michael Scharf (Wind River) - initial contribution + * Contributors: + * Michael Scharf (Wind River) - initial API and implementation *******************************************************************************/ package org.eclipse.tm.internal.terminal.actions; diff --git a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionRemove.java b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionRemove.java index 048aeb39149..a3d6e3659d6 100644 --- a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionRemove.java +++ b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionRemove.java @@ -5,13 +5,8 @@ * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * - * Initial Contributors: - * The following Wind River employees contributed to the Terminal component - * that contains this file: Chris Thew, Fran Litterio, Stephen Lamb, - * Helmut Haigermoser and Ted Williams. - * - * Contributors: - * Michael Scharf (Wind River) - initial contribution + * Contributors: + * Michael Scharf (Wind River) - initial API and implementation *******************************************************************************/ package org.eclipse.tm.internal.terminal.actions; diff --git a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionSelectionDropDown.java b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionSelectionDropDown.java index 3c7348ff507..b5af7b6de14 100644 --- a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionSelectionDropDown.java +++ b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/actions/TerminalActionSelectionDropDown.java @@ -1,10 +1,10 @@ /******************************************************************************* - * Copyright (c) 2000, 2007 IBM Corporation and others. + * Copyright (c) 2000, 2008 IBM Corporation and others. * 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: * IBM Corporation - initial API and implementation * Michael Scharf (Wind River) - [172483] switch between connections diff --git a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewConnection.java b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewConnection.java index eec3f229302..68c532856d4 100644 --- a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewConnection.java +++ b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewConnection.java @@ -1,15 +1,15 @@ /******************************************************************************* - * Copyright (c) 20078 Wind River Systems, Inc. and others. - * 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: + * Copyright (c) 2008 Wind River Systems, Inc. and others. + * 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: * Michael Scharf (Wind River) - initial API and implementation *******************************************************************************/ /** - * + * */ package org.eclipse.tm.internal.terminal.view; @@ -22,7 +22,7 @@ import org.eclipse.tm.internal.terminal.provisional.api.TerminalState; /** * This class represents one connection. The connection might be - * closed or open. + * closed or open. * */ class TerminalViewConnection implements ITerminalViewConnection { @@ -38,7 +38,7 @@ class TerminalViewConnection implements ITerminalViewConnection { private String fHistory; private CommandInputFieldWithHistory fCommandInputField; private String fPartName; - + public TerminalViewConnection(ITerminalViewControl ctl) { fCtlTerminal = ctl; } @@ -80,7 +80,7 @@ class TerminalViewConnection implements ITerminalViewConnection { if(connectors[i].getId().equals(connectionType)) fCtlTerminal.setConnector(connectors[i]); } - + if("true".equals(store.get(STORE_HAS_COMMAND_INPUT_FIELD))) //$NON-NLS-1$ setCommandInputField(true); } @@ -121,7 +121,7 @@ class TerminalViewConnection implements ITerminalViewConnection { public void setState(TerminalState state) { // update the title.... - fTitle=null; + fTitle=null; } public void setTerminalTitle(String title) { @@ -189,7 +189,7 @@ class TerminalViewConnection implements ITerminalViewConnection { public void setPartName(String name) { fPartName=name; - + } } \ No newline at end of file diff --git a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewControlDecorator.java b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewControlDecorator.java index c5b6230aa80..dff2b367c94 100644 --- a/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewControlDecorator.java +++ b/org.eclipse.tm.terminal.view/src/org/eclipse/tm/internal/terminal/view/TerminalViewControlDecorator.java @@ -1,11 +1,11 @@ /******************************************************************************* - * Copyright (c) 2007 Wind River Systems, Inc. and others. - * 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: + * Copyright (c) 2008 Wind River Systems, Inc. and others. + * 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: * Michael Scharf (Wind River) - initial API and implementation *******************************************************************************/ package org.eclipse.tm.internal.terminal.view;