Exemplo n.º 1
0
 public IconGroupConstArg(
     IUIManager uim,
     IPickUpSystemProcessFactory pickUpSystemProcessFactory,
     IPickUpSystemUIElementFactory pickUpSystemUIElementFactory,
     IPickUpSystemUIA pickUpSyatemUIA,
     IUIImage image,
     IUITool tool,
     IItemIconTransactionManager iiTAM,
     int minSize,
     int maxSize,
     IHoverPadsManager hoverPadsManager,
     List <IItemIcon> iis
     ) : base(
         uim,
         pickUpSystemProcessFactory,
         pickUpSystemUIElementFactory,
         image,
         pickUpSyatemUIA,
         ActivationMode.None
         )
 {
     thisIITAM            = iiTAM;
     thisMinSize          = minSize;
     thisMaxSize          = maxSize;
     thisHoverPadsManager = hoverPadsManager;
     thisIIs = iis;
 }
Exemplo n.º 2
0
 void DestroyUIMgr()
 {
     if (_uiMgr != null)
     {
         _uiMgr.Destroy();
         _uiMgr = null;
     }
 }
Exemplo n.º 3
0
    public TestIG CreateTestIG(int minSize, int maxSize, out IIconGroupConstArg arg)
    {
        IUIManager uim = Substitute.For <IUIManager>();
        IPickUpSystemProcessFactory   pickUpSystemProcessFactory   = Substitute.For <IPickUpSystemProcessFactory>();
        IPickUpSystemUIElementFactory pickUpSystemUIElementFactory = Substitute.For <IPickUpSystemUIElementFactory>();
        IPickUpSystemUIA            pickUpSystemUIA  = Substitute.For <IPickUpSystemUIA>();
        IUIImage                    image            = Substitute.For <IUIImage>();
        IUITool                     tool             = Substitute.For <IUITool>();
        IItemIconTransactionManager iiTAM            = Substitute.For <IItemIconTransactionManager>();
        IHoverPadsManager           hoverPadsManager = Substitute.For <IHoverPadsManager>();
        List <IItemIcon>            iis = new List <IItemIcon>();

        IIconGroupConstArg thisArg = new IconGroupConstArg(uim, pickUpSystemProcessFactory, pickUpSystemUIElementFactory, pickUpSystemUIA, image, tool, iiTAM, minSize, maxSize, hoverPadsManager, iis);
        TestIG             testIG  = new TestIG(thisArg);

        arg = thisArg;
        return(testIG);
    }
Exemplo n.º 4
0
 public PickableUIEConstArg(
     IUIManager uim,
     IPickUpSystemProcessFactory pickUpSystemProcessFactory,
     IPickUpSystemUIElementFactory pickUpSystemUIElementFactory,
     IUIAdaptor uia,
     IPickableUIImage pickableUIImage,
     IUITool tool,
     IDragImageImplementor dragImageImplementor,
     IVisualPickednessStateEngine visualPickednessStateEngine
     ) : base(
         uim,
         pickUpSystemProcessFactory,
         pickUpSystemUIElementFactory,
         uia,
         pickableUIImage,
         ActivationMode.None
         )
 {
     thisDragImageImplementor        = dragImageImplementor;
     thisVisualPickednessStateEngien = visualPickednessStateEngine;
 }
Exemplo n.º 5
0
 public ItemIconConstArg(IUIManager uim, IPickUpSystemProcessFactory pickUpSystemProcessFactory, IPickUpSystemUIElementFactory pickUpSystemUIElementFactory, IItemIconUIAdaptor iiUIA, IItemIconImage itemIconImage, IUITool tool, IDragImageImplementor dragImageImplementor, IVisualPickednessStateEngine visualPickednessStateEngine, IItemIconTransactionManager iiTAM, IUIItem item, IItemIconTransactionStateEngine iiTAStateEngine, IItemIconPickUpImplementor pickUpImplementor, IItemIconEmptinessStateEngine emptinessStateEngine, ITransferabilityHandlerImplementor transferabilityHandlerImplementor, IQuantityRoller quantityRoller) : base(uim, pickUpSystemProcessFactory, pickUpSystemUIElementFactory, iiUIA, itemIconImage, tool, dragImageImplementor, visualPickednessStateEngine)
 {
     thisIITAM                = iiTAM;
     thisItem                 = item;
     thisIITAStateEngine      = iiTAStateEngine;
     thisIIPickUpImplementor  = iiPickUpImplementor;
     thisEmptinessStateEngine = emptinessStateEngine;
     thisQuantityRoller       = quantityRoller;
 }