public void addLayeredComponent(Layered a) {
		if (!(a instanceof ModelComponent))
			return;
		((ModelComponent) a).setModel(getModel());
		layerBasket.add(a);
		getModel().notifyChange();
		if (!doNotFireUndoEvent) {
			((ModelComponent) a).setSelected(true);
			getModel().getUndoManager().undoableEditHappened(new UndoableEditEvent(getModel(), new UndoableLayeredComponentOperation(UndoAction.INSERT_LAYERED_COMPONENT, a)));
			updateUndoUIComponents();
		}
	}