Multiple fixes

This commit is contained in:
Alexander Nozik 2018-05-09 11:47:42 +03:00
parent 291cef68fa
commit eef07d565e
2 changed files with 3 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class Numass {
//
// ActionManager am = context.get(ActionManager.class);
//
// am.getAllActions()
// am.listActions()
// .map(name -> am.optAction(name).get())
// .map(ActionDescriptor::build).forEach(descriptor ->
// builder.text("\t").content(MarkupUtils.markupDescriptor(descriptor))

View File

@ -22,6 +22,7 @@ import hep.dataforge.maths.functions.FunctionLibrary
import hep.dataforge.meta.Meta
import hep.dataforge.plots.jfreechart.JFreeChartFrame
import hep.dataforge.providers.Provides
import hep.dataforge.providers.ProvidesNames
import hep.dataforge.stat.models.ModelManager
import hep.dataforge.stat.models.WeightedXYModel
import hep.dataforge.stat.models.XYModel
@ -77,7 +78,7 @@ class NumassPlugin : BasicPlugin() {
return tasks.find { it.name == name }
}
@Provides(Task.TASK_TARGET)
@ProvidesNames(Task.TASK_TARGET)
fun taskList(): List<String> {
return tasks.map { it.name }
}