Ejemplo n.º 1
0
        private CommandManager()
        {
            container = new CommandContainer();

            #region EventRequestListeners
            Midget.Events.EventFactory.AddKeyFrameRequest        += new Midget.Events.Object.Animation.AddKeyFrameEventRequestHandler(EventFactory_AddKeyFrameRequest);
            Midget.Events.EventFactory.CreateObjectRequest       += new Midget.Events.Object.Lifetime.CreateObjectRequestEventHandler(EventFactory_CreateObjectRequest);
            Midget.Events.EventFactory.DeleteObjectRequest       += new Midget.Events.Object.Lifetime.DeleteObjectRequestEventHandler(EventFactory_DeleteObjectRequest);
            Midget.Events.EventFactory.DeselectAllObjectsRequest += new Midget.Events.Object.Selection.DeselectAllObjectsEventRequestHandler(EventFactory_DeselectAllObjectsRequest);
            Midget.Events.EventFactory.DeselectObjectsRequest    += new Midget.Events.Object.Selection.DeselectObjectEventRequestHandler(EventFactory_DeselectObjectsRequest);
            Midget.Events.EventFactory.DuplicateObjectRequest    += new Midget.Events.Object.Lifetime.DuplicateObjectRequestEventHandler(EventFactory_DuplicateObjectRequest);
            Midget.Events.EventFactory.GroupRequest                  += new Midget.Events.Object.Relation.GroupRequestEventHandler(EventFactory_GroupRequest);
            Midget.Events.EventFactory.ParentChangeRequest           += new Midget.Events.Object.Relation.ParentChangeRequestEventHandler(EventFactory_ParentChangeRequest);
            Midget.Events.EventFactory.RemoveKeyFrameRequest         += new Midget.Events.Object.Animation.RemoveKeyFrameEventRequestHandler(EventFactory_RemoveKeyFrameRequest);
            Midget.Events.EventFactory.SelectAdditionalObjectRequest += new Midget.Events.Object.Selection.SelectAdditionalObjectRequestEventHandler(EventFactory_SelectAdditionalObjectRequest);
            Midget.Events.EventFactory.SelectObjectRequest           += new Midget.Events.Object.Selection.SelectObjectRequestEventHandler(EventFactory_SelectObjectRequest);
            Midget.Events.EventFactory.TransformationRequest         += new Midget.Events.Object.Transformation.TransformationRequestEventHandler(EventFactory_TransformationRequest);
            Midget.Events.EventFactory.UngroupRequest                += new Midget.Events.Object.Relation.UngroupRequestEventHandler(EventFactory_UngroupRequest);
            Midget.Events.EventFactory.NewSceneRequest               += new Midget.Events.User.NewSceneEventRequestHandler(EventFactory_NewSceneRequest);
            Midget.Events.EventFactory.OpenSceneRequest              += new Midget.Events.User.OpenSceneEventRequestHandler(EventFactory_OpenSceneRequest);
            Midget.Events.EventFactory.AddDynamicRequest             += new AddDynamicRequestEventHandler(EventFactory_AddDynamicRequest);
            Midget.Events.EventFactory.RemoveDynamicRequest          += new RemoveDynamicRequestEventHandler(EventFactory_RemoveDynamicRequest);
            #endregion
        }
Ejemplo n.º 2
0
        private CommandManager()
        {
            container = new CommandContainer();

            #region EventRequestListeners
            Midget.Events.EventFactory.AddKeyFrameRequest+=new Midget.Events.Object.Animation.AddKeyFrameEventRequestHandler(EventFactory_AddKeyFrameRequest);
            Midget.Events.EventFactory.CreateObjectRequest+=new Midget.Events.Object.Lifetime.CreateObjectRequestEventHandler(EventFactory_CreateObjectRequest);
            Midget.Events.EventFactory.DeleteObjectRequest+=new Midget.Events.Object.Lifetime.DeleteObjectRequestEventHandler(EventFactory_DeleteObjectRequest);
            Midget.Events.EventFactory.DeselectAllObjectsRequest+=new Midget.Events.Object.Selection.DeselectAllObjectsEventRequestHandler(EventFactory_DeselectAllObjectsRequest);
            Midget.Events.EventFactory.DeselectObjectsRequest+=new Midget.Events.Object.Selection.DeselectObjectEventRequestHandler(EventFactory_DeselectObjectsRequest);
            Midget.Events.EventFactory.DuplicateObjectRequest+=new Midget.Events.Object.Lifetime.DuplicateObjectRequestEventHandler(EventFactory_DuplicateObjectRequest);
            Midget.Events.EventFactory.GroupRequest+=new Midget.Events.Object.Relation.GroupRequestEventHandler(EventFactory_GroupRequest);
            Midget.Events.EventFactory.ParentChangeRequest+=new Midget.Events.Object.Relation.ParentChangeRequestEventHandler(EventFactory_ParentChangeRequest);
            Midget.Events.EventFactory.RemoveKeyFrameRequest+=new Midget.Events.Object.Animation.RemoveKeyFrameEventRequestHandler(EventFactory_RemoveKeyFrameRequest);
            Midget.Events.EventFactory.SelectAdditionalObjectRequest+=new Midget.Events.Object.Selection.SelectAdditionalObjectRequestEventHandler(EventFactory_SelectAdditionalObjectRequest);
            Midget.Events.EventFactory.SelectObjectRequest+=new Midget.Events.Object.Selection.SelectObjectRequestEventHandler(EventFactory_SelectObjectRequest);
            Midget.Events.EventFactory.TransformationRequest+=new Midget.Events.Object.Transformation.TransformationRequestEventHandler(EventFactory_TransformationRequest);
            Midget.Events.EventFactory.UngroupRequest+=new Midget.Events.Object.Relation.UngroupRequestEventHandler(EventFactory_UngroupRequest);
            Midget.Events.EventFactory.NewSceneRequest+=new Midget.Events.User.NewSceneEventRequestHandler(EventFactory_NewSceneRequest);
            Midget.Events.EventFactory.OpenSceneRequest +=new Midget.Events.User.OpenSceneEventRequestHandler(EventFactory_OpenSceneRequest);
            Midget.Events.EventFactory.AddDynamicRequest+=new AddDynamicRequestEventHandler(EventFactory_AddDynamicRequest);
            Midget.Events.EventFactory.RemoveDynamicRequest+=new RemoveDynamicRequestEventHandler(EventFactory_RemoveDynamicRequest);
            #endregion
        }
Ejemplo n.º 3
0
 public void Clear()
 {
     container = new CommandContainer();
 }
Ejemplo n.º 4
0
 public void Clear()
 {
     container = new CommandContainer();
 }