[ https://issues.apache.org/jira/browse/NETBEANS-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17015616#comment-17015616 ]
Andrey M commented on NETBEANS-2478: ------------------------------------ I managed to reproduce this issue on NB 11.2. What is strange for me is that deactivation asks restarting IDE, but reactivation doesn't. If you restart IDE manually, *.dal files are opened as expected. Reopening the file after reactivation without restart shows all tabs as expected Seems like I did not do something special in plugin code regarding deactivation-reactivation. > SQL DAL Maker plugin does not recognize its own data nodes after reactivation > ----------------------------------------------------------------------------- > > Key: NETBEANS-2478 > URL: https://issues.apache.org/jira/browse/NETBEANS-2478 > Project: NetBeans > Issue Type: Bug > Components: updatecenters - Pluginportal > Affects Versions: 11.0 > Reporter: Jiří Kovalský > Priority: Major > > SQL DAL Maker plugin ([http://plugins.netbeans.org/plugin/73614]) for some > reason does recognize *.dal files when activated after being deactive and > perhaps same issue occurs when re-installed. > *Steps to reproduce:* > # Download 1556400791_com-sqldalmaker-netbeans.nbm file [1] > # Go to *Tools > Plugins > Download*, click *Add Plugins...* button and > instal it. > # Create new Java sample project and then new empty _java.dal_ file via > *Ctrl+N*. > # It is opened in Editor with DTO, DAO and Admin tabs. > # Go to *Tools > Plugins > Installed*, uncheck Show details option, select > SQL DAL Maker plugin and deactivate it. > # After restart reactivate the plugin in a similar way. > [1] [http://plugins.netbeans.org/download/plugin/10010] > *Expected result:* The _java.dal_ file is recognized and DTO, DAO and Admin > tabs in Editor are displayed when opening java.dal file. > *Actual result:* NetBeans treats _java.dal_ file as a plain text file and > shows only empty editor without any additional tabs. Workaround is to restart > the IDE. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists