@@ -0,0 +1,678 @@
+package com.github.aureliano.edocs.app.cmd;%0A%0Aimport com.github.aureliano.edocs.app.EdocsApp;%0Aimport com.github.aureliano.edocs.app.gui.AppFrame;%0Aimport com.github.aureliano.edocs.app.gui.panel.SaveDocumentPanel;%0Aimport com.github.aureliano.edocs.common.locale.EdocsLocale;%0A%0Apublic class NewDocumentCommand implements ICommand %7B%0A%0A%09@Override%0A%09public void execute() %7B%0A%09%09if (!this.canExecute()) %7B%0A%09%09%09return;%0A%09%09%7D%0A%09%09%0A%09%09AppFrame frame = EdocsApp.instance().getFrame();%0A%09%09String title = EdocsLocale.instance().getMessage(%22gui.frame.main.tabbed.pane.document.new%22);%0A%09%09%0A%09%09frame.addTabPanel(title, new SaveDocumentPanel());%0A%09%7D%0A%0A%09@Override%0A%09public boolean canExecute() %7B%0A%09%09return true;%0A%09%7D%0A%7D

Create new document command.