else
else if (type!=LinkProperties.TEMPLATE_MACRO)
public boolean manageLink(VDBFieldData field) {	int type = LinkProperties.getType(field);	if (type == LinkProperties.VARIABLE_FIELD)	{		// invoke validateLink at the end//		EPICSVarOutLink link = null;		OutLink link = null;				if (this.containsObject(field.getName()))//			link = (EPICSVarOutLink)getSubObject(field.getName());			link = (OutLink)getSubObject(field.getName());				if (link!=null && link.getInput()!=null)		{			link.validateLink();			return true;		}						// check new VAR->PORT/macro link		LinkProperties properties = new LinkProperties(field);		InLink portLink = EPICSLinkOut.getTarget(properties);				if (portLink==null || (!(portLink instanceof TemplateEPICSPort) && !(portLink instanceof Macro)))		{			if (link!=null)			{				link.validateLink();				return true;			}			else				return false;		}				// create a new one			if (link==null)		{			link = new EPICSVarOutLink(this, field);			addLink(link);		}		portLink.setOutput(link, null);		link.setInput(portLink);		if (link!=null)			link.validateLink();					return true;	}		else	{				if (this.containsObject(field.getName()))		{			// existing link			EPICSLinkOut link = (EPICSLinkOut)getSubObject(field.getName());			link.valueChanged();			link.setDestroyed(false);			return true;					}		else		{			if (!LinkManagerObject.isSoftwareLink(field))				return false;							// new link			LinkProperties properties = new LinkProperties(field);			InLink varlink = EPICSLinkOut.getTarget(properties);			// can point to null? OK, cross will be showed			EPICSLinkOut outlink = null;						if (type==LinkProperties.INLINK_FIELD)				outlink = new EPICSInLink(this, field);			else if (type==LinkProperties.OUTLINK_FIELD)				outlink = new EPICSOutLink(this, field);			else /*if (type==LinkProperties.FWDLINK_FIELD)*/				outlink = new EPICSFwdLink(this, field);					addLink(outlink);			if (varlink!=null) varlink.setOutput(outlink, null);			outlink.setInput(varlink);			return true;		}	}}