diff options
Diffstat (limited to 'plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/ConfigurationElementWrapper.java')
-rw-r--r-- | plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/ConfigurationElementWrapper.java | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/ConfigurationElementWrapper.java b/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/ConfigurationElementWrapper.java deleted file mode 100644 index 1f3572a96..000000000 --- a/plugins/org.eclipse.wst.common.frameworks/src/org/eclipse/wst/common/frameworks/internal/ConfigurationElementWrapper.java +++ /dev/null @@ -1,69 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2003, 2004 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 - *******************************************************************************/ -/* - * Created on Oct 20, 2003 - * - * To change the template for this generated file go to - * Window>Preferences>Java>Code Generation>Code and Comments - */ -package org.eclipse.wst.common.frameworks.internal; - -import org.eclipse.core.runtime.IConfigurationElement; -import org.eclipse.core.runtime.IExtension; - -/** - * @author schacher - * - * To change the template for this generated type comment go to Window>Preferences>Java>Code - * Generation>Code and Comments - */ -public class ConfigurationElementWrapper { - - protected IConfigurationElement element; - - /** - * - */ - public ConfigurationElementWrapper(IConfigurationElement element) { - super(); - this.element = element; - } - - - - /** - * @return Returns the element. - */ - protected IConfigurationElement getElement() { - return element; - } - - /** - * Return the plugin id of the configuration element - * - * @return - */ - public String getPluginId() { - String pluginId = null; - - if (element != null) { - IExtension extension = element.getDeclaringExtension(); - - if (extension != null) { - pluginId = extension.getNamespace(); - // TODO jsholl is this correct??? - } - } - - return pluginId; - } - -}
\ No newline at end of file |