public override void ExecuteAction(GnosisEventHandler.TargetActionType actionType)
        {
            switch (actionType)
            {
            case GnosisEventHandler.TargetActionType.Save:
                InstanceController.Save();
                break;

            case GnosisEventHandler.TargetActionType.Get:
                GlobalData.Singleton.ErrorHandler.HandleError("ExecuteAction not implemented for GET on DocFrame", "GnosisDocFrameController");
                break;

            case GnosisEventHandler.TargetActionType.New:
                GnosisDocumentFrameController docFrameController = New();
                GlobalData.Singleton.ErrorHandler.HandleError("Created new DocFrame but don't know where to put it.", "GnosisDocFrameController");
                break;

            case GnosisEventHandler.TargetActionType.Delete:
                Delete();
                break;

            default:
                base.ExecuteAction(actionType);
                break;
            }
        }
        private GnosisDocumentFrameController New()
        {
            GnosisDocumentFrame docFrame = GnosisControlCreator.CreateGnosisDocFrame(
                GlobalData.Singleton.Connection.System,
                GlobalData.Singleton.Connection.VersionNo,
                GlobalData.Singleton.Connection.URL);

            // IGnosisDocFrameImplementation docFrameImp = GlobalData.Singleton.ImplementationCreator.GetGnosisDocFrameImplementation();

            GnosisDocumentFrameController newController =
                new GnosisDocumentFrameController(docFrame, InstanceController, (GnosisContainerController)Parent);

            newController.Setup();

            return(newController);
        }