func (v *platformView) selectArch(toSelect graph.ArchIf) { var a graph.ArchIf for _, a = range v.arch { if a.Name() == toSelect.Name() { if !a.Select() { v.repaintArch(a) } } } }
func (v *mappingView) selectArch(toSelect graph.ArchIf) { var a graph.ArchIf for _, a = range v.arch { if a.Name() == toSelect.Name() { if a.Select() { v.repaintArch(a) } return } } }