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;
            }
        }
 public override void ExecuteAction(GnosisEventHandler.TargetActionType actionType)
 {
     switch (actionType)
     {
     default:
         base.ExecuteAction(actionType);
         break;
     }
 }
Exemplo n.º 3
0
 public virtual void ExecuteAction(GnosisEventHandler.TargetActionType type)
 {
     GlobalData.Singleton.ErrorHandler.HandleError("ExecuteAction not implemented for " +
                                                   Enum.GetName(typeof(GnosisEventHandler.TargetActionType), type), "GnosisController.ExecuteAction");
 }