Search in sources :

Example 1 with Point2DJsonDeserializer

use of org.baderlab.csplugins.enrichmentmap.style.charts.json.Point2DJsonDeserializer in project EnrichmentMapApp by BaderLab.

the class AbstractChart method addJsonDeserializers.

protected void addJsonDeserializers(final SimpleModule module) {
    module.addDeserializer(Map.class, new PropertiesJsonDeserializer(this));
    module.addDeserializer(Color.class, new ColorJsonDeserializer());
    module.addDeserializer(Point2D.class, new Point2DJsonDeserializer());
    module.addDeserializer(Rectangle2D.class, new Rectangle2DJsonDeserializer());
    final CyColumnIdentifierFactory colIdFactory = serviceRegistrar.getService(CyColumnIdentifierFactory.class);
    module.addDeserializer(CyColumnIdentifier.class, new CyColumnIdentifierJsonDeserializer(colIdFactory));
}
Also used : Point2DJsonDeserializer(org.baderlab.csplugins.enrichmentmap.style.charts.json.Point2DJsonDeserializer) PropertiesJsonDeserializer(org.baderlab.csplugins.enrichmentmap.style.charts.json.PropertiesJsonDeserializer) CyColumnIdentifierFactory(org.cytoscape.view.presentation.property.values.CyColumnIdentifierFactory) CyColumnIdentifierJsonDeserializer(org.baderlab.csplugins.enrichmentmap.style.charts.json.CyColumnIdentifierJsonDeserializer) Rectangle2DJsonDeserializer(org.baderlab.csplugins.enrichmentmap.style.charts.json.Rectangle2DJsonDeserializer) ColorJsonDeserializer(org.baderlab.csplugins.enrichmentmap.style.charts.json.ColorJsonDeserializer)

Aggregations

ColorJsonDeserializer (org.baderlab.csplugins.enrichmentmap.style.charts.json.ColorJsonDeserializer)1 CyColumnIdentifierJsonDeserializer (org.baderlab.csplugins.enrichmentmap.style.charts.json.CyColumnIdentifierJsonDeserializer)1 Point2DJsonDeserializer (org.baderlab.csplugins.enrichmentmap.style.charts.json.Point2DJsonDeserializer)1 PropertiesJsonDeserializer (org.baderlab.csplugins.enrichmentmap.style.charts.json.PropertiesJsonDeserializer)1 Rectangle2DJsonDeserializer (org.baderlab.csplugins.enrichmentmap.style.charts.json.Rectangle2DJsonDeserializer)1 CyColumnIdentifierFactory (org.cytoscape.view.presentation.property.values.CyColumnIdentifierFactory)1