private void calculateEnabledState(JoeTree tree) {
		if (tree.getComponentFocus() == OutlineLayoutManager.ICON) {
			setEnabled(true);
		} else {
			if (tree.getCursorPosition() == tree.getCursorMarkPosition()) {
				setEnabled(false);
			} else {
				setEnabled(true);
			}
		}
	}