From 7a8ac22476250074690e23caca67c1b5cbfedbaf Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Fri, 23 Aug 2019 14:03:57 +0200
Subject: [PATCH] implement toString method

---
 .../celldesigner/structure/fields/LineProperties.java     | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/structure/fields/LineProperties.java b/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/structure/fields/LineProperties.java
index dd45ccc521..6bb3b60a34 100644
--- a/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/structure/fields/LineProperties.java
+++ b/converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/structure/fields/LineProperties.java
@@ -1,7 +1,8 @@
 package lcsb.mapviewer.converter.model.celldesigner.structure.fields;
 
-import java.awt.*;
+import java.awt.Color;
 
+import lcsb.mapviewer.common.geometry.ColorParser;
 import lcsb.mapviewer.model.graphics.PolylineData;
 
 /**
@@ -99,4 +100,9 @@ public class LineProperties {
     this.type = type;
   }
 
+  @Override
+  public String toString() {
+    return "[" + this.getClass().getSimpleName() + " w=" + width + "; c=" + new ColorParser().colorToHtml(color) + "]";
+  }
+
 }
-- 
GitLab