//--------------------------------------------------------------------------------------------------

        public bool CanCopyToClipboard()
        {
            if (CurrentTool != null)
            {
                return(CurrentTool.CanCopyToClipboard());
            }
            else
            {
                return(InteractiveContext.Current.DocumentController.CanCopyToClipboard(Selection.SelectedEntities));
            }
        }