import net.mograsim.logic.model.model.ViewModelModifiable;
import net.mograsim.logic.model.model.components.GUIComponent;
import net.mograsim.logic.model.model.wires.Pin;
+import net.mograsim.logic.model.serializing.IdentifyParams;
public class SubmodelInterface extends GUIComponent
{
{// nothing to do here
}
+ @Override
+ public String getIDForSerializing(IdentifyParams idParams)
+ {
+ throw new UnsupportedOperationException("A SubmodelInterface can't be serialized. Use SubmodelComponent.addSubmodelInterface");
+ }
+
/**
* {@inheritDoc}<br>
* This method is only marked public in {@link SubmodelInterface} for {@link SubmodelComponent} to be able to add / remove pins to /