if(leafNode instanceof DefaultMutableTreeNode &&
((DefaultMutableTreeNode)leafNode).getUserObject() instanceof String) {
menuBuilder.addAction(new RenameAction((DefaultMutableTreeNode)leafNode));
}
menuBuilder.addAction(new ExportDelimitedFileAction(DataListView.this, leafNode));
menuBuilder.addAction(new ExportMatlabAction(DataListView.this, leafNode));
if (leafNode instanceof NengoTreeNode) {
NengoTreeNode neoTreeNode = (NengoTreeNode) leafNode;