public LayerManager() {
		super(new LayerTreeModel());
		model_ = (LayerTreeModel) getModel();
		this.addTreeSelectionListener(new TreeSelectionListener() {

			@Override
			public void valueChanged(TreeSelectionEvent arg0) {
				if (!__locked) {
					DefaultMutableTreeNode node = (DefaultMutableTreeNode) getLastSelectedPathComponent();
					if (node == null) {
						return;
					} else {
						if (node.getUserObject() instanceof String) {
							container_.setSelectedLayer(null);
						} else if (node.getUserObject() instanceof NodeLayer) {
							container_.setSelectedLayer((NodeLayer) node
									.getUserObject());
						}
					}
				} else
					__locked = false;
			}
		});
	}