As I understand that you would like to create a same dialog of lineStyle as what we have in GisEditor? If yes, sorry that it's a part of GisEditor, we don't public its source code, maybe you can contact sales@thinkgeo.com to see if ther is anyway to get it. Including some prebuilt controls, it should have dozens of codes.