summaryrefslogtreecommitdiff
path: root/python/plugin.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2018-07-13 11:20:49 -0400
committerPeter LaFosse <peter@vector35.com>2018-07-13 11:20:49 -0400
commit30bbb5a8a18183e8e7921ddd047c4cdd14c360ea (patch)
tree37fd1d15c6b85572caf83bcf172e97949aa74f59 /python/plugin.py
parentd0c8cf49ecb114b81007920b2e4e2b1ae168dbc4 (diff)
parent838cb56a8505fc78d09befedd58dd632eeb2ee62 (diff)
Merging with dev
Diffstat (limited to 'python/plugin.py')
-rw-r--r--python/plugin.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/python/plugin.py b/python/plugin.py
index 30a46412..13ca51af 100644
--- a/python/plugin.py
+++ b/python/plugin.py
@@ -83,6 +83,11 @@ class PluginCommand(object):
self.description = str(cmd.description)
self.type = PluginCommandType(cmd.type)
+ @property
+ def list(self):
+ """Allow tab completion to discover metaclass list property"""
+ pass
+
@classmethod
def _default_action(cls, view, action):
try:
@@ -588,6 +593,11 @@ class BackgroundTask(object):
core.BNFreeBackgroundTask(self.handle)
@property
+ def list(self):
+ """Allow tab completion to discover metaclass list property"""
+ pass
+
+ @property
def progress(self):
"""Text description of the progress of the background task (displayed in status bar of the UI)"""
return core.BNGetBackgroundTaskProgressText(self.handle)