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.
The WidgetAction.isLocked method is protected. Becuase of that it is not possible to implement ProxyWidgetAction which wraps original WidgetAction.
Created attachment 44176 [details] Patch
Y01 apichanges (btw. source incompatible change), @since, etc. Y02 as a test case consider writing the proxy action and ensuring at least isLocked is properly delegated.
Taking the patch back since it is backward-incompatible. The isLocked method is already implemented on many places. Better solution would be to provide a new WidgetAction.ProxyLockedAction class which will delegate the all method call to a specified WidgetAction.LockedAction instance.