public void fireSelectionChangedEvent(JoeTree tree, int type) {
		selectionChangedEvent.setTree(tree);
		selectionChangedEvent.setType(type);
		for (int i = 0, limit = treeSelectionListeners.size(); i < limit; i++) {
			((TreeSelectionListener) treeSelectionListeners.get(i)).selectionChanged(selectionChangedEvent);
		}
		
		// Cleanup
		selectionChangedEvent.setTree(null);
	}