public void AddGhost(SymbolBaseViewModel element) { if (_ghost == null) { _ghost = element; SymbolVms.Add(_ghost); } }
private void OnConnectorAddEventHandler(Connector connector) { SymbolVms.Add(new ConnectorViewModel(connector, _client, _inspectorTool)); }
private void OnBlockSymbolsAddEventHandler(BlockSymbol blockSymbol) { SymbolVms.Add(new BlockViewModel(blockSymbol, _client, _inspectorTool)); }