Exemple #1
0
def editRun(project=None, runname=None):
    p = project or projectutils.getActiveProject()
    runname = runname or p.activerun
    p.setActiveRun(runname)
    treepath = os.path.join(p[runname]['path'], "run.tree")
    runTree = common.parseTree(treepath, root=runname)
    projectconfigpath = p['projectdir']
    response = quickui.showConfigurationTree(title=runname, tree=runTree, savespace=p[runname]['path'], parent=tool.getToolWindow())
    p.save()
Exemple #2
0
def showToolOptions():
    savespace = getConfSaveSpace()
    treepath = resource.getResource("resource:tooloptions.tree")
    optionTree = common.parseTree(treepath, root="Options")
    quickui.showConfigurationTree(title="Tool Options", tree=optionTree, parent=tool.getToolWindow(), savespace=savespace)