}
@Override
protected void newDocDialog() {
//don't do the dialog. instead just create a new doc
PixelDoc doc = new PixelDoc();//(defaultWidth, defaultHeight);
try {
main.setupNewDoc(new PixelModeHelper(main),doc);
} catch (Exception e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}