From 4bad84801bcc160bdde13f2a6af9e30d3aef17f4 Mon Sep 17 00:00:00 2001
From: Lukas Ladenberger <lukas.ladenberger@googlemail.com>
Date: Wed, 31 Oct 2012 12:29:37 +0100
Subject: [PATCH] removed unused code

---
 .../gef/editor/model/BControl.java            | 41 -------------------
 1 file changed, 41 deletions(-)

diff --git a/de.bmotionstudio.gef.editor/src/de/bmotionstudio/gef/editor/model/BControl.java b/de.bmotionstudio.gef.editor/src/de/bmotionstudio/gef/editor/model/BControl.java
index 6a29442b..c65e1973 100644
--- a/de.bmotionstudio.gef.editor/src/de/bmotionstudio/gef/editor/model/BControl.java
+++ b/de.bmotionstudio.gef.editor/src/de/bmotionstudio/gef/editor/model/BControl.java
@@ -812,19 +812,6 @@ public abstract class BControl implements IAdaptable, Cloneable {
 
 	}
 
-	// protected void initAttribute(AbstractAttribute atr) {
-	// AbstractAttribute matr = getAttributes().get(atr.getID());
-	// if (matr != null) {
-	// matr.setEditable(atr.isEditable());
-	// matr.setGroup(atr.getGroup());
-	// matr.setShow(atr.show());
-	// matr.setDefaultValue(atr.getValue());
-	// } else {
-	// atr.setDefaultValue(atr.getValue());
-	// getAttributes().put(atr.getID(), atr);
-	// }
-	// }
-
 	private Object reflectiveGet(String className) {
 		Object newInstance = null;
 		try {
@@ -840,34 +827,6 @@ public abstract class BControl implements IAdaptable, Cloneable {
 		return newInstance;
 	}
 
-	// protected void initAttribute(AbstractAttribute atr, AbstractAttribute
-	// group) {
-	// initAttribute(atr, group.getClass().getName());
-	// }
-	//
-	// protected void initAttribute(AbstractAttribute atr, String group) {
-	// atr.setGroup(group);
-	// initAttribute(atr);
-	// }
-	//
-	// protected void initAttribute(AbstractAttribute atr, boolean editable,
-	// boolean show) {
-	// atr.setEditable(editable);
-	// atr.setShow(show);
-	// initAttribute(atr);
-	// }
-	//
-	// protected void initAttribute(AbstractAttribute atr, boolean editable) {
-	// atr.setEditable(editable);
-	// initAttribute(atr);
-	// }
-	//
-	// protected void initAttribute(AbstractAttribute atr, String group,
-	// boolean editable) {
-	// atr.setEditable(editable);
-	// initAttribute(atr, group);
-	// }
-
 	public boolean canHaveChildren() {
 		return false;
 	}
-- 
GitLab