private void calculateEnabledState(JoeTree tree) {
		Document doc = tree.getDocument();
		
		if (doc == Outliner.documents.getMostRecentDocumentTouched()) {
			Node node = tree.getEditingNode();
			
			if (tree.getComponentFocus() == OutlineLayoutManager.ICON && tree.getNumberOfSelectedNodes() >= 2) {
				setEnabled(true);
			} else {
				setEnabled(false);
			}
		}
	}