X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fsnippets%2Fhighlevelstatehandlers%2Fstandard%2Fsubcomponent%2FDelegatingSubcomponentHighLevelStateHandler.java;h=12a98887c54153e0196dd5580bb34135f0896407;hb=8bed58cd47f4e53a0a83e066d38864aa6875502f;hp=069a6cb3d406ed7c9b7082fdcd50c6238491cd40;hpb=5140b424c507b8f22f80b452e475d0b56a3a36ce;p=Mograsim.git diff --git a/net.mograsim.logic.model/src/net/mograsim/logic/model/snippets/highlevelstatehandlers/standard/subcomponent/DelegatingSubcomponentHighLevelStateHandler.java b/net.mograsim.logic.model/src/net/mograsim/logic/model/snippets/highlevelstatehandlers/standard/subcomponent/DelegatingSubcomponentHighLevelStateHandler.java index 069a6cb3..12a98887 100644 --- a/net.mograsim.logic.model/src/net/mograsim/logic/model/snippets/highlevelstatehandlers/standard/subcomponent/DelegatingSubcomponentHighLevelStateHandler.java +++ b/net.mograsim.logic.model/src/net/mograsim/logic/model/snippets/highlevelstatehandlers/standard/subcomponent/DelegatingSubcomponentHighLevelStateHandler.java @@ -4,7 +4,6 @@ import net.mograsim.logic.model.model.components.ModelComponent; import net.mograsim.logic.model.model.components.submodels.SubmodelComponent; import net.mograsim.logic.model.serializing.IdentifyParams; import net.mograsim.logic.model.snippets.SnippetDefinintion; -import net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.HighLevelStateHandlerContext; import net.mograsim.logic.model.snippets.highlevelstatehandlers.standard.StandardHighLevelStateHandlerSnippetSuppliers; public class DelegatingSubcomponentHighLevelStateHandler implements SubcomponentHighLevelStateHandler @@ -13,15 +12,15 @@ public class DelegatingSubcomponentHighLevelStateHandler implements Subcomponent private ModelComponent delegateTarget; private String prefix; - public DelegatingSubcomponentHighLevelStateHandler(HighLevelStateHandlerContext context) + public DelegatingSubcomponentHighLevelStateHandler(SubmodelComponent component) { - this(context, null); + this(component, null); } - public DelegatingSubcomponentHighLevelStateHandler(HighLevelStateHandlerContext context, + public DelegatingSubcomponentHighLevelStateHandler(SubmodelComponent component, DelegatingSubcomponentHighLevelStateHandlerParams params) { - this.parentComponent = context.component; + this.parentComponent = component; if (params != null) { // TODO document this