def __init__(self, iface, uidm):
     self._iface = iface
     self.uidm = uidm
     self.updateSuccessful = None
     self.afar = {
         ft: AddressFactory.getInstance(FEEDS['AR'])
         for ft in FeedType.reverse
     }
     self.afaf = {
         ft: AddressFactory.getInstance(FEEDS['AF'])
         for ft in FeedType.reverse
     }
Пример #2
0
    def __init__(self, iface, layerManager, controller):
        """
        Intialise Move Address Tool
        
        @param iface: QgisInterface Abstract base class defining interfaces exposed by QgisApp  
        @type iface: Qgisinterface Object
        @param layerManager: Plugins layer manager
        @type  layerManager: AimsUI.LayerManager()
        @param controller: Instance of the plugins controller
        @type  controller: AimsUI.AimsClient.Gui.Controller()
        """

        QgsMapToolIdentify.__init__(self, iface.mapCanvas())
        self._iface = iface
        self._canvas = iface.mapCanvas()
        self._layers = layerManager
        self._controller = controller
        self.RespHandler = ResponseHandler(self._iface, self._controller.uidm)
        self.highlighter = self._controller.highlighter
        self.afc = {
            ft: AddressFactory.getInstance(FEEDS['AC'])
            for ft in FeedType.reverse
        }
        self.aff = FeatureFactory.getInstance(
            FeedRef(FeatureType.ADDRESS, FeedType.FEATURES))
        self._features = []
        self._sb = self._iface.mainWindow().statusBar()
        self.activate()
Пример #3
0
 def __init__(self, iface, layerManager, controller):
     """
     Intialise New Address Tool
     
     @param iface: QgisInterface Abstract base class defining interfaces exposed by QgisApp  
     @type iface: Qgisinterface Object
     @param layerManager: Plugins layer manager
     @type  layerManager: AimsUI.LayerManager()
     @param controller: Instance of the plugins controller
     @type  controller: AimsUI.AimsClient.Gui.Controller()
     """
     
     QgsMapToolIdentify.__init__(self, iface.mapCanvas())
     self._iface = iface
     self._layers = layerManager
     self._controller = controller
     self.af = {ft:AddressFactory.getInstance(FEEDS['AC']) for ft in FeedType.reverse}
     self.activate()
    def __init__(self, iface, layerManager, controller):
        """
        Intialise New Address Tool
        
        @param iface: QgisInterface Abstract base class defining interfaces exposed by QgisApp  
        @type iface: Qgisinterface Object
        @param layerManager: Plugins layer manager
        @type  layerManager: AimsUI.LayerManager()
        @param controller: Instance of the plugins controller
        @type  controller: AimsUI.AimsClient.Gui.Controller()
        """

        QgsMapToolIdentify.__init__(self, iface.mapCanvas())
        self._iface = iface
        self._layers = layerManager
        self._controller = controller
        self.af = {
            ft: AddressFactory.getInstance(FEEDS['AC'])
            for ft in FeedType.reverse
        }
        self.activate()
Пример #5
0
    def __init__(self, iface, layerManager, controller):
        """
        Intialise Move Address Tool
        
        @param iface: QgisInterface Abstract base class defining interfaces exposed by QgisApp  
        @type iface: Qgisinterface Object
        @param layerManager: Plugins layer manager
        @type  layerManager: AimsUI.LayerManager()
        @param controller: Instance of the plugins controller
        @type  controller: AimsUI.AimsClient.Gui.Controller()
        """

        QgsMapToolIdentify.__init__(self, iface.mapCanvas())
        self._iface = iface
        self._canvas = iface.mapCanvas()
        self._layers = layerManager
        self._controller = controller
        self.RespHandler = ResponseHandler(self._iface, self._controller.uidm)
        self.highlighter = self._controller.highlighter
        self.af = {ft: AddressFactory.getInstance(FEEDS["AC"]) for ft in FeedType.reverse}
        self._features = []
        self._sb = self._iface.mainWindow().statusBar()
        self.activate()
Пример #6
0
 def __init__(self, iface, uidm):
     self._iface = iface
     self.uidm = uidm
     self.updateSuccessful = None
     self.afar= {ft:AddressFactory.getInstance(FEEDS['AR']) for ft in FeedType.reverse}
     self.afaf= {ft:AddressFactory.getInstance(FEEDS['AF']) for ft in FeedType.reverse}