LogicalViewProvider.createLogicalView is called twice when project explorer is created. Why?
Todd Stevenson <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
I am looking at the tutorial found at https://platform.netbeans.org/tutorials/nbm-projecttype.html#projectlogicalview and I've built it from the source found in the repository at: https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.2/tutorials/CustomerProjectType After I create a customer project as outlined in the tutorial and save it and restart the component I can see that createLogicalView() is called twice. (line 223 of CustomerProject.java). Is this correct behavior? It seems that it should be called once when initializing the app. This is causing performance problems in my app because the initialization of the project structure in my app is somewhat expensive. I'm using Netbeans 8.0.2. Any ideas? Any suggestions? Thank you. Todd Stevenson