DBPort port = (DBPort)e.nextElement();
VDBPort port = (VDBPort)e.nextElement();
private void initializeLinkFields(){	clear();/*	// inputs	Enumeration e = templateData.getInputs().elements();	while (e.hasMoreElements())	{		VDBTemplateField tf = (VDBTemplateField)e.nextElement();		EPICSLink link = createLinkField(tf);		link.setRight(false);		if (link!=null)			addSubObject(tf.getAlias(), link);	}	// outputs	e = templateData.getOutputs().elements();	while (e.hasMoreElements())	{		VDBTemplateField tf = (VDBTemplateField)e.nextElement();		EPICSLink link = createLinkField(tf);		link.setRight(true);		if (link!=null)			addSubObject(tf.getAlias(), link);	}*/	// ports	Enumeration e = templateData.getTemplate().getPortsV().elements();	while (e.hasMoreElements())	{		DBPort port = (DBPort)e.nextElement();		VDBTemplatePort tf = new VDBTemplatePort(getTemplateData(), port);		EPICSLink link = createLinkField(tf);		link.setRight(true);		if (link!=null)			addSubObject(tf.getName(), link);	}}