ValueProvider updates
This commit is contained in:
parent
18cc9112b5
commit
05faaf1696
@ -31,9 +31,11 @@ import hep.dataforge.meta.Meta;
|
|||||||
public class Numass {
|
public class Numass {
|
||||||
|
|
||||||
public static Context buildContext(Context parent, Meta meta) {
|
public static Context buildContext(Context parent, Meta meta) {
|
||||||
Context numassContext = Global.getContext("numass").withParent(parent).withProperties(meta);
|
return Context.builder("NUMASS")
|
||||||
numassContext.pluginManager().load("inr.numass:numass");
|
.parent(parent)
|
||||||
return numassContext;
|
.properties(meta)
|
||||||
|
.plugin(NumassPlugin.class)
|
||||||
|
.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Context buildContext() {
|
public static Context buildContext() {
|
||||||
|
@ -72,7 +72,7 @@ public class NumassPlugin extends BasicPlugin {
|
|||||||
public void attach(Context context) {
|
public void attach(Context context) {
|
||||||
// StorageManager.buildFrom(context);
|
// StorageManager.buildFrom(context);
|
||||||
super.attach(context);
|
super.attach(context);
|
||||||
context.setIO(new NumassIO());
|
context.pluginManager().load(new NumassIO());
|
||||||
FitManager fm = context.getFeature(FitManager.class);
|
FitManager fm = context.getFeature(FitManager.class);
|
||||||
loadModels(fm.getModelManager());
|
loadModels(fm.getModelManager());
|
||||||
loadMath(MathPlugin.buildFrom(context));
|
loadMath(MathPlugin.buildFrom(context));
|
||||||
|
Loading…
Reference in New Issue
Block a user