211212213214215216217218219220221
Assert.assertion(c instanceof TreeHook, "Navigator node is instance of TreeHook"); // Apply the mode to the command set according to the node selected DataModel model = ((TreeHook) c).getDataModel(); model.grabFocus(); } } } }
230231232233234235236237238239240
267268269270271272273274275276277
if (path != null) { DataModel m = ((TreeHook) path.getLastPathComponent()).getDataModel(); if (m != null) { m.grabFocus(); return m; } }