Multiple fixes
This commit is contained in:
parent
291cef68fa
commit
eef07d565e
@ -53,7 +53,7 @@ public class Numass {
|
|||||||
//
|
//
|
||||||
// ActionManager am = context.get(ActionManager.class);
|
// ActionManager am = context.get(ActionManager.class);
|
||||||
//
|
//
|
||||||
// am.getAllActions()
|
// am.listActions()
|
||||||
// .map(name -> am.optAction(name).get())
|
// .map(name -> am.optAction(name).get())
|
||||||
// .map(ActionDescriptor::build).forEach(descriptor ->
|
// .map(ActionDescriptor::build).forEach(descriptor ->
|
||||||
// builder.text("\t").content(MarkupUtils.markupDescriptor(descriptor))
|
// builder.text("\t").content(MarkupUtils.markupDescriptor(descriptor))
|
||||||
|
@ -22,6 +22,7 @@ import hep.dataforge.maths.functions.FunctionLibrary
|
|||||||
import hep.dataforge.meta.Meta
|
import hep.dataforge.meta.Meta
|
||||||
import hep.dataforge.plots.jfreechart.JFreeChartFrame
|
import hep.dataforge.plots.jfreechart.JFreeChartFrame
|
||||||
import hep.dataforge.providers.Provides
|
import hep.dataforge.providers.Provides
|
||||||
|
import hep.dataforge.providers.ProvidesNames
|
||||||
import hep.dataforge.stat.models.ModelManager
|
import hep.dataforge.stat.models.ModelManager
|
||||||
import hep.dataforge.stat.models.WeightedXYModel
|
import hep.dataforge.stat.models.WeightedXYModel
|
||||||
import hep.dataforge.stat.models.XYModel
|
import hep.dataforge.stat.models.XYModel
|
||||||
@ -77,7 +78,7 @@ class NumassPlugin : BasicPlugin() {
|
|||||||
return tasks.find { it.name == name }
|
return tasks.find { it.name == name }
|
||||||
}
|
}
|
||||||
|
|
||||||
@Provides(Task.TASK_TARGET)
|
@ProvidesNames(Task.TASK_TARGET)
|
||||||
fun taskList(): List<String> {
|
fun taskList(): List<String> {
|
||||||
return tasks.map { it.name }
|
return tasks.map { it.name }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user