def getAssetSelection(self): return getSelectionManager('asset').getSelection()
def toggleSelection( key, targets = None ): selectionManager = getSelectionManager( key ) selectionManager.toggleSelection( targets )
def removeSelection( key, targets = None ): selectionManager = getSelectionManager( key ) selectionManager.removeSelection( targets )
def changeSelection( key, targets = None ): selectionManager = getSelectionManager( key ) selectionManager.changeSelection( targets )
def addSelection( key, targets = None ): selectionManager = getSelectionManager( key ) selectionManager.addSelection( targets )
def getSelection( key ): selectionManager = getSelectionManager( key ) s = selectionManager.getSelection() return s
def getAssetSelection( self ): return getSelectionManager( 'asset' ).getSelection()