@@ -0,0 +1,414 @@
+package com.github.aureliano.edocs.app.cmd;%0A%0Aimport com.github.aureliano.edocs.app.EdocsApp;%0A%0Apublic class CloseAllTabsCommand 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%09EdocsApp.instance().getFrame().removeAllTabs();%0A%09%7D%0A%0A%09@Override%0A%09public boolean canExecute() %7B%0A%09%09int index = EdocsApp.instance().getFrame().getActiveTab();%0A%09%09return index %3E= 0;%0A%09%7D%0A%7D

Create close all tabs command.