import org.simantics.utils.datastructures.hints.IHintObservable;
import org.simantics.utils.datastructures.hints.IHintContext.Key;
import org.simantics.utils.datastructures.hints.IHintContext.KeyOf;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
/**
* Paints terminals of elements.
*/
public class TerminalPainter extends AbstractDiagramParticipant {
+ private static final Logger LOGGER = LoggerFactory.getLogger(TerminalPainter.class);
public static final int PAINT_PRIORITY = ElementPainter.ELEMENT_PAINT_PRIORITY + 10;
public interface TerminalHoverStrategy {
AffineTransform invTx = util.getInverseTransform();
if (invTx == null) {
- System.err.println("NO CANVAS TRANSFORM INVERSE AVAILABLE, CANVAS TRANSFORM IS: " + util.getTransform());
+ LOGGER.warn("NO CANVAS TRANSFORM INVERSE AVAILABLE, CANVAS TRANSFORM IS: " + util.getTransform());
return;
}