This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 205784, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 Beta (Build 201210011125) VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20 OS: Windows 7 User Comments: GUEST: I clicked Run Maximum slowness yet reported was 16226 ms, average is 16226
Created attachment 127101 [details] nps snapshot
isActionEnabled seems to access the disk to find out the right mimetype during checking its enablement state!
http://hg.netbeans.org/core-main/rev/a17a862cecef Test presence of SQLExecuteCookie in DataObject's lookup before checking the mimetype. Is should be much faster.
Integrated into 'main-golden', will be available in build *201211280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/a17a862cecef User: Jaroslav Havlin <jhavlin@netbeans.org> Log: #221446: 16s - org.netbeans.modules.db.sql.editor.ui.actions.RunSQLAction.isActionEnabled()