diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/IRSESystemType.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/IRSESystemType.java index df864486ad5..553dfb6afac 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/IRSESystemType.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/IRSESystemType.java @@ -127,19 +127,4 @@ public interface IRSESystemType extends IAdaptable { * but never null. */ public String[] getSubsystemConfigurationIds(); - - /** - * Returns if or if not the specified new connection wizard delegate can be used for this - * system type. This method is called by the {@link org.eclipse.rse.ui.wizard.IRSENewConnectionWizard} - * if the system type attribute of the newConnectionWizardDelegates extension - * point is not specified. This allows to declare new connection wizard delegates which are - * associated to system types dynamically contributed via the systemTypeProviders - * extension point. - *

- * Note: The default RSE system type implementation returns always false here. - * - * @param newConnectionWizardDelegateId The new connection wizard delegate id. Must be not null. - * @return True if the system type accepts the new connection wizard delegate, false otherwise. - */ - public boolean acceptNewConnectionWizardDelegate(String newConnectionWizardDelegateId); } \ No newline at end of file diff --git a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/internal/RSESystemType.java b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/internal/RSESystemType.java index 463648b91fa..42dc271f250 100644 --- a/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/internal/RSESystemType.java +++ b/rse/plugins/org.eclipse.rse.core/src/org/eclipse/rse/core/internal/RSESystemType.java @@ -140,13 +140,6 @@ public class RSESystemType implements IRSESystemType { return subsystemConfigurationIds; } - /* (non-Javadoc) - * @see org.eclipse.rse.core.IRSESystemType#acceptNewConnectionWizardDelegate(java.lang.String) - */ - public boolean acceptNewConnectionWizardDelegate(String newConnectionWizardDelegateId) { - return false; - } - /* (non-Javadoc) * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class) */ diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizard.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizard.java index c1c922a829e..338f171131a 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizard.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSENewConnectionWizard.java @@ -25,7 +25,6 @@ import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.core.runtime.Platform; import org.eclipse.jface.wizard.IWizardPage; import org.eclipse.rse.core.IRSESystemType; -import org.eclipse.rse.core.RSECorePlugin; import org.eclipse.rse.core.SystemBasePlugin; import org.eclipse.rse.ui.ISystemIconConstants; import org.eclipse.rse.ui.RSEUIPlugin; @@ -107,15 +106,6 @@ public class RSENewConnectionWizard extends AbstractSystemWizard implements IRSE // if the systemTypeId is null or empty, ask the system types if they accept the newConnectionWizardDelegate if (systemTypeId != null && !"".equals(systemTypeId.trim())) { //$NON-NLS-1$ if (!wizardDelegates.containsKey(systemTypeId)) wizardDelegates.put(systemTypeId, obj); - } else { - IRSESystemType[] systemTypes = RSECorePlugin.getDefault().getRegistry().getSystemTypes(); - for (int j = 0; j < systemTypes.length; j++) { - IRSESystemType systemType = systemTypes[j]; - if (systemType.acceptNewConnectionWizardDelegate(element.getAttribute(NEW_CONNECTION_WIZARD_DELEGATE_EXTENSION_CONFIG_ATTRIBUTE_ID)) - && !wizardDelegates.containsKey(systemType.getId())) { - wizardDelegates.put(systemType.getId(), obj); - } - } } } else { continue;