public ManagementModelNode getSelectedNode ( ) { if ( tree . getSelectionPath ( ) == null ) return null ; return ( ManagementModelNode ) tree . getSelectionPath ( ) . getLastPathComponent ( ) ; }
Get the node that has been selected by the user or null if nothing is selected .