def METHOD_NAME(self):
    # overloaded to filter for datasets
    nodes = list(self._tree.selectedH5Nodes())
    newDatasetName = self._lineEditNewItem.text()
    isDatasetSelected = False
    if nodes:
        node = nodes[0]
        if silx.io.is_dataset(node.h5py_object):
            data_path = node.local_name
            isDatasetSelected = True
        elif silx.io.is_group(node.h5py_object):
            data_path = node.local_name
            if newDatasetName.lstrip("/"):
                if not data_path.endswith("/"):
                    data_path += "/"
                data_path += newDatasetName.lstrip("/")
                isDatasetSelected = True
        if isDatasetSelected:
            self._selectedUrl = DataUrl(file_path=node.local_filename,
                                        data_path=data_path)
            self._okButton.setEnabled(True)
            self._labelSelection.setText(
                    self._selectedUrl.path())
        else:
            self._selectedUrl = None
            self._okButton.setEnabled(False)
            self._labelSelection.setText(self._selectDatasetStatusText)