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.
如果用户单击 (X) 以关闭视图。有没有办法弹出一个对话框来检查用户是否要继续关闭?
有几种方法可以实现这一目标。
#dispose
ViewPart
org.eclipse.ui.ISaveablePart
org.eclipse.ui.ISaveablePart2