OrsInfiniteToolbox¶
Plugin of the ORS Store, used to share user extensions
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved. |
| date: | Dec 19 2016 10:26 |
| dragonflyVersion: | |
| 2.1.0.200 (D) | |
| UUID: | f3249658e25611e691b6448a5b87686a |
Class Code¶
-
class
OrsPythonPlugins.OrsInfiniteToolbox.OrsInfiniteToolbox.OrsInfiniteToolbox(varname=None, managed=True)¶ -
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
addToolToStoreRepository(gitlabOAuth, toolInfo, latestBibliography)¶
-
addToolToToolbox(aToolInfo)¶
-
closable= True¶
-
deletePlugin(widget=None)¶
-
classmethod
getAbout()¶
-
getIsToolInToolbox(aUUID)¶
-
getState()¶
-
getStoreRepository()¶
-
getToolInfoByUUID(aToolUUID) → OrsPythonPlugins.OrsInfiniteToolbox.orsinfinitetool.InfiniteTool¶
-
classmethod
installTool(toolInfo, forEveryone, version, repository, forceInstall=False, skipDepencyCheck=False)¶ Install the tool specified by toolInfo
Parameters: - toolInfo (InfiniteTool) – information on the tool
- forEveryone (bool) –
- version – semantic version in string
- repo – repository
- forceInstall – if true, it will overwrite if the tool already exists. otherwise, if false. it won’t install it
- dependenciesBeingInstalled – a map of uuid to a ToolDependency
Type: str
Type: map
Returns: output (str) – an error message, empty string if there wasn’t any errors
-
instance= None¶
-
keepAlive= False¶
-
interfacemethod
launchStore()¶ Interface to launch the Dragonfly store.
-
listToolsInToolbox(toolType=None)¶
-
loadInstalledTools()¶
-
loadToolsFromRepository()¶
-
multiple= False¶
-
classmethod
openGUI(mainForm=None, anAction=None, webpage=None)¶
-
refreshToolInStore(aTool, toolInfo)¶
-
interfacemethod
removeToolFromStore()¶ Interface to remove a tool from the store (and repository).
-
classmethod
resolveDependenciesForTool(tool, version, repository, dependenciesToInstall=None)¶
-
savable= False¶
-
searchTools(pattern: str, field: str = None, socket: str = None, score: int = 50, limit: int = None)¶ Search the store for the given pattern In the future, this will directly search the store when we will have to many plugins
Return a list of uuid with score > score :param pattern: str :param field: the search field: “name”, “authors”, “organization” :param score: int :param limit: limit on the number of searches :return: set of unique uuids
-
setState(state)¶
-
startServer()¶
-
classmethod
toolsMenuLaunchStore()¶
-
uninstallToolFromDragonfly(tool: OrsPythonPlugins.OrsInfiniteToolbox.orsinfinitetool.InfiniteTool)¶
-
updateToolInStoreRepository(gitlabOAuth, toolInfo: OrsPythonPlugins.OrsInfiniteToolbox.orsinfinitetool.InfiniteTool, version, release_notes, latestBibliography)¶
-