ports.remove(port.getName());
public void renamePort(VDBPort port, String newName){	String oldName = port.getName();		port.setName(newName);	ports.remove(port.getName());	ports.put(port.getName(), port);	com.cosylab.vdct.undo.UndoManager.getInstance().addAction(			new RenameTemplatePortAction(this, port, oldName, newName));	InspectorManager.getInstance().updateObject(this);/*	updateTemplateFields();	unconditionalValidation();	com.cosylab.vdct.events.CommandManager.getInstance().execute("RepaintWorkspace");*/}