Commit 5e502bee authored by legoc's avatar legoc
Browse files

Added the name of the axis in the tree item

parent b5b71cb8
......@@ -83,10 +83,14 @@ public class HierarchyCell extends CheckBoxTreeCell<Component> {
if (empty || isEditing()) {
return;
} else {
// DEBUG
// setText(item.getName() + " -- " + item.getAxis().getType() + " - " + item.getAxis().getMethod());
setText(item.getName());
String text = item.getName();
if (item.getAxis().getController() != null) {
text += " (" + item.getAxis().getController().getName() + ")";
}
setText(text);
setContextMenu(rigthClickMenu);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment