public void run() {
		String type = getText();
		if (type.compareTo(DEBUG_STATES) == 0) {
			GEF.DebugToolStates = !GEF.DebugToolStates;
		}
		if (type.compareTo(DEBUG_FEEDBACK) == 0) {
			GEF.DebugFeedback = !GEF.DebugFeedback;
		}
		if (type.compareTo(DEBUG_PAINTING) == 0) {
			GEF.DebugPainting = !GEF.DebugPainting;
		}
		if (type.compareTo(DEBUG_EDITPARTS) == 0) {
			GEF.DebugEditParts = !GEF.DebugEditParts;
		}
		if (type.compareTo(DEBUG_EVENTS) == 0) {
			GEF.DebugEvents = !GEF.DebugEvents;
		}
		if (type.compareTo(DEBUG_TOOLS) == 0) {
			GEF.DebugTools = !GEF.DebugTools;
		}
		if (type.compareTo(DEBUG_GLOBAL) == 0) {
			GEF.GlobalDebug = !GEF.GlobalDebug;
		}
		if (type.compareTo(DEBUG_CLEAR) == 0) {
			GEF.clearConsole();
		}
		if (type.compareTo(DEBUG_DND) == 0) {
			GEF.DebugDND = !GEF.DebugDND;
		}
	}