internal void ApplyBulkOperation()
        {
            var selectedNodes = PropertyPaletteNodes.Where(n => n.Selected);

            switch (BulkOperation)
            {
            case BulkOperation.Delete:
                Delete(selectedNodes);
                break;

            case BulkOperation.Freeze:
                Freeze(selectedNodes);
                break;

            case BulkOperation.Unfreeze:
                Unfreeze(selectedNodes);
                break;

            case BulkOperation.Disconnect:
                Disconnect(selectedNodes);
                break;

            default:
                break;
            }
        }
        private void CurrentWorkspaceModel_NodeRemoved(NodeModel node)
        {
            var propertyPaletteNode = PropertyPaletteNodes.Where(n => n.NodeModel == node).FirstOrDefault();

            if (propertyPaletteNode != null)
            {
                PropertyPaletteNodes.Remove(propertyPaletteNode);
                propertyPaletteNode.Dispose();
            }
            RaisePropertyChanged(nameof(PropertyPaletteNodesCollection));
        }