use of org.cytoscape.view.vizmap.gui.internal.view.editor.mappingeditor.EditorValueRangeTracer in project cytoscape-impl by cytoscape.
the class VizMapperMediator method selectCurrentVisualStyle.
private void selectCurrentVisualStyle(final VisualStyle vs) {
invokeOnEDT(() -> {
final VisualStyle selectedVs = vizMapperMainPanel.getSelectedVisualStyle();
// Switching styles. Need to reset the range tracer
ContinuousMappingEditorPanel.setTracer(new EditorValueRangeTracer(servicesUtil));
if (vs != null && !vs.equals(selectedVs))
vizMapperMainPanel.setSelectedVisualStyle(vs);
});
}
Aggregations