Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在本教程中,当我右键单击删除菜单时如何获取 xml 的属性,然后显示带有属性值的对话框?
在deleteAction中,您可以参考clickedPath.getLastPathComponent()访问选定的节点。
deleteAction
clickedPath.getLastPathComponent()