import net.haspamelodica.swt.helper.gcs.GeneralGC;
import net.haspamelodica.swt.helper.swtobjectwrappers.Rectangle;
import net.mograsim.logic.model.model.components.GUIComponent;
-import net.mograsim.logic.model.model.components.submodels.SubmodelComponent;
+import net.mograsim.logic.model.serializing.IdentifierGetter;
import net.mograsim.logic.model.snippets.Renderer;
import net.mograsim.logic.model.snippets.SnippetDefinintion;
import net.mograsim.logic.model.snippets.SubmodelComponentSnippetSuppliers;
{
private final GUIComponent component;
- public DefaultOutlineRenderer(SubmodelComponent component)
+ public DefaultOutlineRenderer(GUIComponent component)
{
this(component, null);
}
- public DefaultOutlineRenderer(SubmodelComponent component, @SuppressWarnings("unused") Void params)
+ public DefaultOutlineRenderer(GUIComponent component, @SuppressWarnings("unused") Void params)
{
this.component = component;
}
gc.drawRectangle(component.getBounds());
}
+ @Override
+ public Void getParamsForSerializing(IdentifierGetter idGetter)
+ {
+ return null;
+ }
+
static
{
SubmodelComponentSnippetSuppliers.outlineRendererSupplier.setSnippetSupplier(DefaultOutlineRenderer.class.getCanonicalName(),