diff options
Diffstat (limited to 'bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/contentgenerator/ui/extension/ContentGeneratorUIExtension.java')
-rw-r--r-- | bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/contentgenerator/ui/extension/ContentGeneratorUIExtension.java | 75 |
1 files changed, 0 insertions, 75 deletions
diff --git a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/contentgenerator/ui/extension/ContentGeneratorUIExtension.java b/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/contentgenerator/ui/extension/ContentGeneratorUIExtension.java deleted file mode 100644 index ff069eec8..000000000 --- a/bundles/org.eclipse.wst.wsdl.ui/src-asd/org/eclipse/wst/wsdl/ui/internal/asd/contentgenerator/ui/extension/ContentGeneratorUIExtension.java +++ /dev/null @@ -1,75 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 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 - *******************************************************************************/ -package org.eclipse.wst.wsdl.ui.internal.asd.contentgenerator.ui.extension; - -import org.eclipse.wst.wsdl.ui.internal.wizards.ContentGeneratorOptionsPage; - -public class ContentGeneratorUIExtension { - private String name; - private String namespace; - private String bindingOptionsPageClassName; - private String portOptionsPageClassName; - - private ClassLoader classLoader; - - public ContentGeneratorUIExtension(String name, String namespace) { - this.name = name; - this.namespace = namespace; - } - - public void setBindingOptionsPageClassName(String bindingClassName) { - bindingOptionsPageClassName = bindingClassName; - } - - public void setPortOptionsPageClassName(String portClassName) { - portOptionsPageClassName = portClassName; - } - - public void setClassLoader(ClassLoader classLoader){ - this.classLoader = classLoader; - } - - public String getName() { - return name; - } - - public String getNamespace() { - return namespace; - } - - public ContentGeneratorOptionsPage getBindingContentGeneratorOptionsPage() { - ContentGeneratorOptionsPage result = null; - if (bindingOptionsPageClassName != null) { - try { - Class theClass = classLoader != null ? classLoader.loadClass(bindingOptionsPageClassName) : Class.forName(bindingOptionsPageClassName); - result = (ContentGeneratorOptionsPage) theClass.newInstance(); - } - catch (Exception e) { - } - } - - return result; - } - - public ContentGeneratorOptionsPage getPortContentGeneratorOptionsPage() { - ContentGeneratorOptionsPage result = null; - if (portOptionsPageClassName != null) { - try { - Class theClass = classLoader != null ? classLoader.loadClass(portOptionsPageClassName) : Class.forName(portOptionsPageClassName); - result = (ContentGeneratorOptionsPage) theClass.newInstance(); - } - catch (Exception e) { - } - } - - return result; - } -}
\ No newline at end of file |