Class ConnectorTypeWriter

    • Constructor Detail

      • ConnectorTypeWriter

        public ConnectorTypeWriter()
    • Method Detail

      • write

        public void write​(UI ui,
                          Writer writer,
                          PaintTarget target)
                   throws IOException
        Writes a JSON object containing connector-ID-to-type-ID mappings for each dirty Connector in the given UI.
        Parameters:
        ui - The UI containing dirty connectors
        writer - The Writer used to write the JSON.
        target - The paint target containing the connector type IDs.
        Throws:
        IOException - If the serialization fails.