Commit effb0b26 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

serialization over celldesigner should ignore font colors

parent 55462871
package lcsb.mapviewer.wikipathway;
import java.awt.Color;
import java.io.*;
import java.net.URL;
import java.net.URLConnection;
......@@ -225,6 +226,9 @@ public abstract class WikipathwaysTestFunctions {
bioEntity.setZ(null);
}
}
for (lcsb.mapviewer.model.map.species.Element bioEntity : model1.getElements()) {
bioEntity.setFontColor(Color.BLACK);
}
//CellDesigner doesn't allow to store compartment font size
for (Compartment bioEntity : model1.getCompartments()) {
bioEntity.setFontSize(Compartment.DEFAULT_COMPARTMENT_THICKNESS);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment