1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 12:05:21 +02:00

[196454][cleanup] Required tm.terminal version for tm.terminal.view

This commit is contained in:
Martin Oberhuber 2008-07-09 14:39:55 +00:00
parent b18f2b6004
commit 1ac02e7577
4 changed files with 30 additions and 21 deletions

View file

@ -25,7 +25,7 @@
<requires> <requires>
<import plugin="org.eclipse.ui"/> <import plugin="org.eclipse.ui"/>
<import plugin="org.eclipse.core.runtime"/> <import plugin="org.eclipse.core.runtime"/>
<import plugin="org.eclipse.tm.terminal" version="2.0.0" match="compatible"/> <import plugin="org.eclipse.tm.terminal" version="2.0.1" match="compatible"/>
</requires> </requires>
<plugin <plugin

View file

@ -7,7 +7,7 @@ Bundle-Activator: org.eclipse.tm.internal.terminal.view.TerminalViewPlugin
Bundle-Localization: plugin Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui, Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime, org.eclipse.core.runtime,
org.eclipse.tm.terminal;bundle-version="[2.0.0,3.0.0)" org.eclipse.tm.terminal;bundle-version="[2.0.1,3.0.0)"
Bundle-ActivationPolicy: lazy Bundle-ActivationPolicy: lazy
Eclipse-LazyStart: true Eclipse-LazyStart: true
Bundle-RequiredExecutionEnvironment: J2SE-1.4 Bundle-RequiredExecutionEnvironment: J2SE-1.4

View file

@ -1,22 +1,26 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2008 Wind River Systems, Inc. and others. * Copyright (c) 2008 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: * Contributors:
* Michael Scharf (Wind River) - initial API and implementation * Michael Scharf (Wind River) - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.tm.internal.terminal.provisional.api; package org.eclipse.tm.internal.terminal.provisional.api;
/** /**
* Uses an array of {@link ISettingsStore} to find a value. * Uses an array of {@link ISettingsStore} to find a value.
* * <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
* of a work in progress. There is no guarantee that this API will work or that
* it will remain the same. Please do not use this API without consulting with
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
* </p>
*/ */
public class LayeredSettingsStore implements ISettingsStore { public class LayeredSettingsStore implements ISettingsStore {
private final ISettingsStore[] fStores; private final ISettingsStore[] fStores;
/** /**
@ -52,7 +56,7 @@ public class LayeredSettingsStore implements ISettingsStore {
} }
public void put(String key, String value) { public void put(String key, String value) {
fStores[0].put(key,value); fStores[0].put(key,value);
} }
} }

View file

@ -1,11 +1,11 @@
/******************************************************************************* /*******************************************************************************
* Copyright (c) 2008 Wind River Systems, Inc. and others. * Copyright (c) 2008 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: * Contributors:
* Michael Scharf (Wind River) - initial API and implementation * Michael Scharf (Wind River) - initial API and implementation
*******************************************************************************/ *******************************************************************************/
package org.eclipse.tm.internal.terminal.provisional.api; package org.eclipse.tm.internal.terminal.provisional.api;
@ -14,7 +14,12 @@ import org.eclipse.core.runtime.Preferences;
/** /**
* A preference based settings store. * A preference based settings store.
* * <p>
* <strong>EXPERIMENTAL</strong>. This class or interface has been added as part
* of a work in progress. There is no guarantee that this API will work or that
* it will remain the same. Please do not use this API without consulting with
* the <a href="http://www.eclipse.org/dsdp/tm/">Target Management</a> team.
* </p>
*/ */
public class PreferenceSettingStore implements ISettingsStore { public class PreferenceSettingStore implements ISettingsStore {
private final String fPrefix; private final String fPrefix;
@ -22,7 +27,7 @@ public class PreferenceSettingStore implements ISettingsStore {
/** /**
* Creates a ISettingStore that uses the preferences as backend. * Creates a ISettingStore that uses the preferences as backend.
* *
* @param preferences the backed. * @param preferences the backed.
* @param prefix a string that is prepended to the key * @param prefix a string that is prepended to the key
*/ */
@ -42,7 +47,7 @@ public class PreferenceSettingStore implements ISettingsStore {
} }
public void put(String key, String value) { public void put(String key, String value) {
fPreferences.setValue(makeKey(key), value); fPreferences.setValue(makeKey(key), value);
} }
/** /**
* @param key * @param key