mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
Before migrating the Project View to the new models, we need to take care of existing code that relies on the exact implementation class. For "Can this thing calculate nodes on a BGT?" instanceof checks, introduce a new marker interface, BgtAwareTreeModel. We may add methods such as isProcessing() there later. Replace existing usages with the new interface. For "Can this thing accept a visitor on a BGT?" instanceof checks, introduce TreeVisitor.LoadingAwareAcceptor with the second accept() overload that controls node loading. Replace existing usages. GitOrigin-RevId: 67905cc6873aab2f917ee2028d0a167f60fa85f7