Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/model/PreferenceEntryManager.java')
-rw-r--r--bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/model/PreferenceEntryManager.java42
1 files changed, 0 insertions, 42 deletions
diff --git a/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/model/PreferenceEntryManager.java b/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/model/PreferenceEntryManager.java
deleted file mode 100644
index 0ce979cb..00000000
--- a/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/model/PreferenceEntryManager.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2015 vogella GmbH.
- *
- * This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License 2.0
- * which accompanies this distribution, and is available at
- * https://www.eclipse.org/legal/epl-2.0/
- *
- * SPDX-License-Identifier: EPL-2.0
- *
- * Contributors:
- * Simon Scholz <simon.scholz@vogella.com> - initial API and implementation
- *******************************************************************************/
-package org.eclipse.e4.tools.preference.spy.model;
-
-import java.util.HashMap;
-import java.util.Map;
-
-public class PreferenceEntryManager extends PreferenceNodeEntry {
-
- private Map<String, PreferenceNodeEntry> recentPreferenceEntries = new HashMap<String, PreferenceNodeEntry>();
-
- public PreferenceEntryManager() {
- }
-
- public PreferenceNodeEntry getRecentPreferenceNodeEntry(String nodePath) {
- return recentPreferenceEntries.get(nodePath);
- }
-
- public PreferenceNodeEntry removeRecentPreferenceNodeEntry(String nodePath) {
- return recentPreferenceEntries.remove(nodePath);
- }
-
- public void clearRecentPreferenceNodeEntry() {
- recentPreferenceEntries.clear();
- }
-
- public void putRecentPreferenceEntry(String nodePath, PreferenceNodeEntry preferenceNodeEntry) {
- recentPreferenceEntries.put(nodePath, preferenceNodeEntry);
- }
-
-}

Back to the top