diff options
| author | negasora <negasora@users.noreply.github.com> | 2018-06-28 15:26:11 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-28 15:26:11 -0400 |
| commit | f43194868415d45c6fd455b58846ce789d55c19f (patch) | |
| tree | 6d27f8aa8320e227e6ab2737feeb59f4c974a3c1 /python/plugin.py | |
| parent | 4e94633e22288784180ba31c96b8e4a958d513a0 (diff) | |
| parent | 829917b3bb442d58dbd5f95dc13634ddb7a02a51 (diff) | |
Merge pull request #1062 from negasora/list_visibility
Add empty list properties to some classes to allow for visibility
Diffstat (limited to 'python/plugin.py')
| -rw-r--r-- | python/plugin.py | 10 |
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) |
