Added PluginBrowser stub

CURA-3856
This commit is contained in:
Jaime van Kessel 2017-06-22 14:39:46 +02:00
parent 14fb01ee46
commit b9e863a953
3 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Copyright (c) 2017 Ultimaker B.V.
# PluginBrowser is released under the terms of the AGPLv3 or higher.
from UM.Extension import Extension
from UM.i18n import i18nCatalog
i18n_catalog = i18nCatalog("cura")
class PluginBrowser(Extension):
def __init__(self):
super().__init__()
self.addMenuItem(i18n_catalog.i18n("Browse plugins"), self.browsePlugins)
def browsePlugins(self):
pass

View File

@ -0,0 +1,12 @@
# Copyright (c) 2017 Ultimaker B.V.
# PluginBrowser is released under the terms of the AGPLv3 or higher.
from . import PluginBrowser
def getMetaData():
return {}
def register(app):
return {"extension": PluginBrowser.PluginBrowser()}

View File

@ -0,0 +1,7 @@
{
"name": "Plugin Browser",
"author": "Ultimaker",
"version": "1.0.0",
"api": 4,
"description": "Find, manage and install new plugins."
}