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.
Current SPI for adding palette items requires new class for each item that exists in palette. This is often followed by special class for customizer. This is expensive pattern from performance point of view. The alternative can be allowing of factory method in the XML declaration that will return proper instance of ActiveEditorDrop. Another possibility is to provide context (for example resource path in SFS) when calling constructor of given object.