I wrote a custom content editor panel and now I am trying to register it using org.owasp.webscarab.ui.swing.editors.EditorFactory.registerEditor(c,e).
I want to register my custom edit class befor starting WebScarab - the problem is that at that time EditFactory._editors is null. It is initialized only upon first reception of a packet, therefore the current implementation of registerEditor() is useless.
IMHO it would be better to directly initialize EditFactory._editors with new LinkedHashMap() or to initialize it when Editfactory.registerEditor() is called the first time.
Log in to post a comment.