From adc560d25e59eb1728aa4a19e3c5538c44ea24e1 Mon Sep 17 00:00:00 2001
From: Martin Oberhuber
Date: Wed, 9 Jul 2008 14:39:55 +0000
Subject: [PATCH] [196454][cleanup] Required tm.terminal version for
tm.terminal.view
---
.../feature.xml | 2 +-
.../META-INF/MANIFEST.MF | 2 +-
.../provisional/api/LayeredSettingsStore.java | 24 +++++++++++--------
.../api/PreferenceSettingStore.java | 23 +++++++++++-------
4 files changed, 30 insertions(+), 21 deletions(-)
diff --git a/org.eclipse.tm.terminal.view-feature/feature.xml b/org.eclipse.tm.terminal.view-feature/feature.xml
index a39b95a1d3f..141f5638a86 100644
--- a/org.eclipse.tm.terminal.view-feature/feature.xml
+++ b/org.eclipse.tm.terminal.view-feature/feature.xml
@@ -25,7 +25,7 @@
-
+
+ * EXPERIMENTAL. 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 Target Management team.
+ *
*/
public class LayeredSettingsStore implements ISettingsStore {
-
+
private final ISettingsStore[] fStores;
/**
@@ -52,7 +56,7 @@ public class LayeredSettingsStore implements ISettingsStore {
}
public void put(String key, String value) {
- fStores[0].put(key,value);
+ fStores[0].put(key,value);
}
}
diff --git a/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/provisional/api/PreferenceSettingStore.java b/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/provisional/api/PreferenceSettingStore.java
index 55d5393a013..c0697ae0e8d 100644
--- a/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/provisional/api/PreferenceSettingStore.java
+++ b/org.eclipse.tm.terminal/src/org/eclipse/tm/internal/terminal/provisional/api/PreferenceSettingStore.java
@@ -1,11 +1,11 @@
/*******************************************************************************
* 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:
+ * 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.provisional.api;
@@ -14,7 +14,12 @@ import org.eclipse.core.runtime.Preferences;
/**
* A preference based settings store.
- *
+ *
+ * EXPERIMENTAL. 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 Target Management team.
+ *
*/
public class PreferenceSettingStore implements ISettingsStore {
private final String fPrefix;
@@ -22,7 +27,7 @@ public class PreferenceSettingStore implements ISettingsStore {
/**
* Creates a ISettingStore that uses the preferences as backend.
- *
+ *
* @param preferences the backed.
* @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) {
- fPreferences.setValue(makeKey(key), value);
+ fPreferences.setValue(makeKey(key), value);
}
/**
* @param key