Cretes a new node remover actions. Delete defines what "remove" means:
"false" means it only removes the node from the tree, "true" means it
will try to delete it. Deletion is only available for file nodes at
public java.lang.String getText()
Returns the text to be shown on the button and/or menu item.