Custom Script Editor in Designer

What I would like to do is add a custom script editor to appear under Configuration in the designer project browser tree. When the custom node is opened, I would like it to appear just like the client and gateway script editors, with buttons on the left to select from differenct script types.

I would also like to be able to call these scripts from within my java code.