parameters: (self)
docstring: update options available for the current input layer
docstring_summary: update options available for the current input layer
docstring_tokens: update options available for the current input layer
function: def checkSupports(self):
          """ update options available for the current input layer """
          allowSpatial = self.db.connector.hasSpatialSupport()
          hasGeomType = self.inLayer and self.inLayer.isSpatial()
          self.chkSourceSrid.setEnabled(allowSpatial and hasGeomType)
          self.chkTargetSrid.setEnabled(allowSpatial and hasGeomType)
function_tokens: def checkSupports ( self ) : allowSpatial = self . db . connector . hasSpatialSupport ( ) hasGeomType = self . inLayer and self . inLayer . isSpatial ( ) self . chkSourceSrid . setEnabled ( allowSpatial and hasGeomType ) self . chkTargetSrid . setEnabled ( allowSpatial and hasGeomType )