What I want to do is a template with a form button calles "choice node" like a "add relations" button in a content edit template.
When user click choice node button he can browse in a tree of contents for choice a specific node.
I need this function for create a php script for import data from csv file. A user must specify in which content node he want to import data from csv file so I need a browsing node function like related objects or embedding object of online editor.
You could give a look in the code on kernel/role/assign.php , then create a module, make some changes in that code, so when the user click in a link and goes to your module/yourview, he will be redirected to content/browse and then goes back to your module. So you can get selected nodes with $http->postVariable( 'SelectedObjectIDArray' ).