diff --git a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java index cef44303554..3d54703bbf5 100644 --- a/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java +++ b/rse/plugins/org.eclipse.rse.ui/model/org/eclipse/rse/internal/model/SystemNewConnectionPromptObject.java @@ -115,34 +115,28 @@ public class SystemNewConnectionPromptObject * If this returns null, then SystemViewPromptableAdapter will subsequently * call {@link #run(Shell)}. */ - public ISystemPromptableObject[] getChildren() - { - if (!hasChildren()) - return null; - - - else if (children == null) - { - children = new ISystemPromptableObject[systemTypes.length]; - for (int idx=0; idx 0) { + newConnText = systemTypes[0] + " ..."; //$NON-NLS-1$ + } } + return newConnText; } + /** * Return the type label for this object */ @@ -208,7 +198,7 @@ public class SystemNewConnectionPromptObject /** * Run this prompt. This should return an appropriate ISystemMessageObject to show - * as the child, reflecting if it ran successfully, was cancelled or failed. + * as the child, reflecting if it ran successfully, was cancelled or failed. */ public Object[] run(Shell shell) {