From be4dac0bde61ac29cd97cf4a0d52046512d06c8d Mon Sep 17 00:00:00 2001 From: Daniel Ratiu <ratiu@fortiss.org> Date: Sun, 7 Aug 2011 19:18:40 +0000 Subject: [PATCH] added toString --- .../fortiss/tooling/kernel/extension/data/Prototype.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/extension/data/Prototype.java b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/extension/data/Prototype.java index acce3b82c..571cf8d9f 100644 --- a/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/extension/data/Prototype.java +++ b/org.fortiss.tooling.kernel/trunk/src/org/fortiss/tooling/kernel/extension/data/Prototype.java @@ -27,7 +27,7 @@ import org.eclipse.emf.ecore.util.EcoreUtil; * @author hoelzl * @author $Author$ * @version $Rev$ - * @ConQAT.Rating GREEN Hash: A5DDFFB23BD8EEFA0DC58151601AAC2D + * @ConQAT.Rating YELLOW Hash: 462A5E84E8BF482222209236A2855BEC */ public final class Prototype { @@ -58,4 +58,10 @@ public final class Prototype { public EObject getPrototypeCopy() { return EcoreUtil.copy(prototype); } + + /** {@inheritDoc} */ + @Override + public String toString() { + return "Prototype for: " + name; + } } -- GitLab