mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[cleanup] fix terminal copyright headers and beautify
This commit is contained in:
parent
79c2804166
commit
6603be4d74
27 changed files with 252 additions and 212 deletions
|
@ -1,12 +1,18 @@
|
||||||
################################################################################
|
################################################################################
|
||||||
# Copyright (c) 2006 Wind River Systems, Inc. and others.
|
# Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are made available under the terms of the Eclipse Public License v1.0
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
# which accompanies this distribution, and is available at
|
# which accompanies this distribution, and is available at
|
||||||
# http://www.eclipse.org/legal/epl-v10.html
|
# 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:
|
# Contributors:
|
||||||
# Michael Scharf (Wind River) - initial API and implementation
|
# Michael Scharf (Wind River) - split into core, view and connector plugins
|
||||||
|
# Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
################################################################################
|
################################################################################
|
||||||
source.. = src/
|
source.. = src/
|
||||||
output.. = bin/
|
output.. = bin/
|
||||||
|
@ -14,14 +20,4 @@ bin.includes = META-INF/,\
|
||||||
.,\
|
.,\
|
||||||
plugin.xml,\
|
plugin.xml,\
|
||||||
icons/,\
|
icons/,\
|
||||||
.settings/,\
|
|
||||||
plugin.properties
|
plugin.properties
|
||||||
src.includes = .classpath,\
|
|
||||||
.project,\
|
|
||||||
.settings/,\
|
|
||||||
META-INF/,\
|
|
||||||
build.properties,\
|
|
||||||
icons/,\
|
|
||||||
plugin.properties,\
|
|
||||||
plugin.xml,\
|
|
||||||
src/
|
|
||||||
|
|
|
@ -1,7 +1,19 @@
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# Copyright 2004 Wind River Systems, Inc. All rights reserved.
|
# Copyright (c) 2003, 2006 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
|
||||||
|
#
|
||||||
|
# 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) - split into core, view and connector plugins
|
||||||
|
# Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
##########################################################################
|
##########################################################################
|
||||||
|
|
||||||
pluginName = Terminal View
|
pluginName = Terminal View
|
||||||
providerName = Eclipse.org
|
providerName = Eclipse.org
|
||||||
terminal.views.category.name = Terminal
|
terminal.views.category.name = Terminal
|
||||||
|
|
|
@ -1,5 +1,21 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<?eclipse version="3.0"?>
|
<?eclipse version="3.0"?>
|
||||||
|
<!--
|
||||||
|
# Copyright (c) 2003, 2006 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
|
||||||
|
#
|
||||||
|
# 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) - split into core, view and connector plugins
|
||||||
|
# Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
|
-->
|
||||||
<plugin>
|
<plugin>
|
||||||
<extension
|
<extension
|
||||||
point="org.eclipse.ui.views">
|
point="org.eclipse.ui.views">
|
||||||
|
|
|
@ -1,13 +1,18 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,18 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Copyright (c) 2006 Wind River Systems, Inc. and others.
|
# Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are made available under the terms of the Eclipse Public License v1.0
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
# which accompanies this distribution, and is available at
|
# which accompanies this distribution, and is available at
|
||||||
# http://www.eclipse.org/legal/epl-v10.html
|
# http://www.eclipse.org/legal/epl-v10.html
|
||||||
#
|
#
|
||||||
# Contributors:
|
# Initial Contributors:
|
||||||
# Wind River Systems, Inc. - initial implementation
|
# 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) - split into core, view and connector plugins
|
||||||
|
# Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
###############################################################################
|
###############################################################################
|
||||||
NEW_TERMINAL = New Terminal
|
NEW_TERMINAL = New Terminal
|
||||||
CONNECT = Connect
|
CONNECT = Connect
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.jface.action.Action;
|
import org.eclipse.jface.action.Action;
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.jface.resource.ImageRegistry;
|
import org.eclipse.jface.resource.ImageRegistry;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.jface.resource.ImageRegistry;
|
import org.eclipse.jface.resource.ImageRegistry;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2005, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.jface.resource.ImageRegistry;
|
import org.eclipse.jface.resource.ImageRegistry;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2004, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.actions;
|
package org.eclipse.tm.terminal.internal.actions;
|
||||||
|
|
||||||
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
import org.eclipse.tm.terminal.internal.view.ITerminalView;
|
||||||
|
|
|
@ -6,10 +6,8 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* Michael Scharf (Wind River) - initial API and implementation
|
||||||
*
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
public interface ITerminalView {
|
public interface ITerminalView {
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - extracted from TerminalConsts
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
public interface ImageConsts
|
public interface ImageConsts
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2000, 2006 IBM Corporation and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* IBM Corporation - initial API and implementation (org.eclipse.ui.part.PageBook)
|
||||||
*
|
* Michael Scharf (Wind River) - consider all children for layout and hiding
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
|
@ -28,11 +28,12 @@ import org.eclipse.swt.widgets.Layout;
|
||||||
*/
|
*/
|
||||||
public class PageBook extends Composite {
|
public class PageBook extends Composite {
|
||||||
private Point minimumPageSize = new Point(0, 0);
|
private Point minimumPageSize = new Point(0, 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Layout for the page container.
|
* Layout for the page container.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private class PageLayout extends Layout {
|
private class PageBookLayout extends Layout {
|
||||||
public Point computeSize(Composite composite, int wHint, int hHint, boolean force) {
|
public Point computeSize(Composite composite, int wHint, int hHint, boolean force) {
|
||||||
if (wHint != SWT.DEFAULT && hHint != SWT.DEFAULT)
|
if (wHint != SWT.DEFAULT && hHint != SWT.DEFAULT)
|
||||||
return new Point(wHint, hHint);
|
return new Point(wHint, hHint);
|
||||||
|
@ -45,10 +46,12 @@ public class PageBook extends Composite {
|
||||||
y = Math.max(y, size.y);
|
y = Math.max(y, size.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wHint != SWT.DEFAULT)
|
if (wHint != SWT.DEFAULT) {
|
||||||
x = wHint;
|
x = wHint;
|
||||||
if (hHint != SWT.DEFAULT)
|
}
|
||||||
|
if (hHint != SWT.DEFAULT) {
|
||||||
y = hHint;
|
y = hHint;
|
||||||
|
}
|
||||||
return new Point(x, y);
|
return new Point(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +63,13 @@ public class PageBook extends Composite {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
|
/**
|
||||||
|
* The current control; <code>null</code> if none.
|
||||||
|
*/
|
||||||
|
private Control currentPage = null;
|
||||||
|
|
||||||
|
/**
|
||||||
* Creates a new empty pagebook.
|
* Creates a new empty pagebook.
|
||||||
*
|
*
|
||||||
* @param parent the parent composite
|
* @param parent the parent composite
|
||||||
|
@ -68,12 +77,8 @@ public class PageBook extends Composite {
|
||||||
*/
|
*/
|
||||||
public PageBook(Composite parent, int style) {
|
public PageBook(Composite parent, int style) {
|
||||||
super(parent, style);
|
super(parent, style);
|
||||||
setLayout(new PageLayout());
|
setLayout(new PageBookLayout());
|
||||||
}
|
}
|
||||||
/**
|
|
||||||
* The current control; <code>null</code> if none.
|
|
||||||
*/
|
|
||||||
private Control currentPage = null;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Shows the given page. This method has no effect if the given page is not
|
* Shows the given page. This method has no effect if the given page is not
|
||||||
|
@ -83,21 +88,21 @@ public class PageBook extends Composite {
|
||||||
*/
|
*/
|
||||||
public void showPage(Control page) {
|
public void showPage(Control page) {
|
||||||
|
|
||||||
if (page == currentPage)
|
if (page == currentPage) {
|
||||||
return;
|
return;
|
||||||
if (page.getParent() != this)
|
}
|
||||||
|
if (page==null || page.getParent() != this) {
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
currentPage = page;
|
currentPage = page;
|
||||||
|
|
||||||
// show new page
|
// show new page
|
||||||
if (page != null) {
|
if (!page.isDisposed()) {
|
||||||
if (!page.isDisposed()) {
|
page.setVisible(true);
|
||||||
page.setVisible(true);
|
layout(true);
|
||||||
layout(true);
|
// if (fRequestFocusOnShowPage)
|
||||||
// if (fRequestFocusOnShowPage)
|
// page.setFocus();
|
||||||
// page.setFocus();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// hide old *after* new page has been made visible in order to avoid flashing
|
// hide old *after* new page has been made visible in order to avoid flashing
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* Michael Scharf (Wind River) - initial API and implementation
|
||||||
*
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
|
@ -20,6 +19,7 @@ public class SettingStorePrefixDecorator implements ISettingsStore {
|
||||||
fPrefix=prefix;
|
fPrefix=prefix;
|
||||||
fStore=store;
|
fStore=store;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String get(String key) {
|
public String get(String key) {
|
||||||
return fStore.get(fPrefix+key);
|
return fStore.get(fPrefix+key);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* Michael Scharf (Wind River) - initial API and implementation
|
||||||
*
|
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
|
@ -15,7 +14,6 @@ import org.eclipse.jface.dialogs.IDialogSettings;
|
||||||
import org.eclipse.tm.terminal.ISettingsStore;
|
import org.eclipse.tm.terminal.ISettingsStore;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* A {@link IDialogSettings} based {@link ISettingsStore}.
|
* A {@link IDialogSettings} based {@link ISettingsStore}.
|
||||||
*
|
*
|
||||||
* @author Michael Scharf
|
* @author Michael Scharf
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
import org.eclipse.jface.preference.BooleanFieldEditor;
|
import org.eclipse.jface.preference.BooleanFieldEditor;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
import org.eclipse.jface.dialogs.Dialog;
|
import org.eclipse.jface.dialogs.Dialog;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
import org.eclipse.core.runtime.Preferences;
|
import org.eclipse.core.runtime.Preferences;
|
||||||
|
|
|
@ -1,15 +1,19 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
import java.net.MalformedURLException;
|
import java.net.MalformedURLException;
|
||||||
|
@ -26,8 +30,8 @@ import org.eclipse.ui.plugin.AbstractUIPlugin;
|
||||||
|
|
||||||
public class TerminalViewPlugin extends AbstractUIPlugin {
|
public class TerminalViewPlugin extends AbstractUIPlugin {
|
||||||
protected static TerminalViewPlugin fDefault;
|
protected static TerminalViewPlugin fDefault;
|
||||||
public static final String PLUGIN_HOME = "org.eclipse.tm.terminal"; //$NON-NLS-1$
|
public static final String PLUGIN_HOME = "org.eclipse.tm.terminal"; //$NON-NLS-1$
|
||||||
public static final String HELP_VIEW = PLUGIN_HOME + ".terminal_view"; //$NON-NLS-1$
|
public static final String HELP_VIEW = PLUGIN_HOME + ".terminal_view"; //$NON-NLS-1$
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The constructor.
|
* The constructor.
|
||||||
|
|
|
@ -1,17 +1,23 @@
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
* Copyright (c) 2006 Wind River Systems, Inc. and others.
|
* Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
* All rights reserved. This program and the accompanying materials
|
* All rights reserved. This program and the accompanying materials
|
||||||
* are made available under the terms of the Eclipse Public License v1.0
|
* are made available under the terms of the Eclipse Public License v1.0
|
||||||
* which accompanies this distribution, and is available at
|
* which accompanies this distribution, and is available at
|
||||||
* http://www.eclipse.org/legal/epl-v10.html
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Initial Contributors:
|
||||||
* Wind River Systems, Inc. - initial implementation
|
* 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) - split into core, view and connector plugins
|
||||||
|
* Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.terminal.internal.view;
|
package org.eclipse.tm.terminal.internal.view;
|
||||||
|
|
||||||
import org.eclipse.osgi.util.NLS;
|
import org.eclipse.osgi.util.NLS;
|
||||||
|
|
||||||
public class ViewMessages extends NLS {
|
public class ViewMessages extends NLS {
|
||||||
static {
|
static {
|
||||||
NLS.initializeMessages(ViewMessages.class.getName(), ViewMessages.class);
|
NLS.initializeMessages(ViewMessages.class.getName(), ViewMessages.class);
|
||||||
|
|
|
@ -1,18 +1,22 @@
|
||||||
###############################################################################
|
###############################################################################
|
||||||
# Copyright (c) 2006 Wind River Systems, Inc. and others.
|
# Copyright (c) 2003, 2006 Wind River Systems, Inc. and others.
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are made available under the terms of the Eclipse Public License v1.0
|
# are made available under the terms of the Eclipse Public License v1.0
|
||||||
# which accompanies this distribution, and is available at
|
# which accompanies this distribution, and is available at
|
||||||
# http://www.eclipse.org/legal/epl-v10.html
|
# http://www.eclipse.org/legal/epl-v10.html
|
||||||
#
|
#
|
||||||
# Contributors:
|
# Initial Contributors:
|
||||||
# Wind River Systems, Inc. - initial implementation
|
# 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) - split into core, view and connector plugins
|
||||||
|
# Martin Oberhuber (Wind River) - fixed copyright headers and beautified
|
||||||
###############################################################################
|
###############################################################################
|
||||||
PROP_TITLE = Terminal
|
PROP_TITLE = Terminal
|
||||||
SETTINGS = Settings
|
SETTINGS = Settings
|
||||||
|
|
||||||
|
|
||||||
TERMINALSETTINGS = Terminal Settings
|
TERMINALSETTINGS = Terminal Settings
|
||||||
CONNECTIONTYPE = Connection Type
|
CONNECTIONTYPE = Connection Type
|
||||||
|
|
||||||
|
|
|
@ -1,61 +0,0 @@
|
||||||
/*******************************************************************************
|
|
||||||
* Copyright (c) 2006 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:
|
|
||||||
* Wind River Systems, Inc. - initial implementation
|
|
||||||
*
|
|
||||||
*******************************************************************************/
|
|
||||||
package org.eclipse.tm.terminal.view;
|
|
||||||
|
|
||||||
import org.eclipse.ui.plugin.AbstractUIPlugin;
|
|
||||||
import org.osgi.framework.BundleContext;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The activator class controls the plug-in life cycle
|
|
||||||
*/
|
|
||||||
public class Activator extends AbstractUIPlugin {
|
|
||||||
|
|
||||||
// The plug-in ID
|
|
||||||
public static final String PLUGIN_ID = "org.eclipse.tm.terminal.view"; //$NON-NLS-1$
|
|
||||||
|
|
||||||
// The shared instance
|
|
||||||
private static Activator plugin;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The constructor
|
|
||||||
*/
|
|
||||||
public Activator() {
|
|
||||||
plugin = this;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
public void start(BundleContext context) throws Exception {
|
|
||||||
super.start(context);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
* (non-Javadoc)
|
|
||||||
* @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
|
|
||||||
*/
|
|
||||||
public void stop(BundleContext context) throws Exception {
|
|
||||||
plugin = null;
|
|
||||||
super.stop(context);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Returns the shared instance
|
|
||||||
*
|
|
||||||
* @return the shared instance
|
|
||||||
*/
|
|
||||||
public static Activator getDefault() {
|
|
||||||
return plugin;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue