OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 82 → Rev 83

/trunk/OpenConcerto/src/org/openconcerto/erp/core/sales/quote/action/ListeDesDevisAction.java
13,7 → 13,7
package org.openconcerto.erp.core.sales.quote.action;
 
import org.openconcerto.erp.action.CreateFrameAbstractAction;
import org.openconcerto.erp.action.CreateListFrameAbstractAction;
import org.openconcerto.erp.config.ComptaPropsConfiguration;
import org.openconcerto.erp.core.common.ui.IListFilterDatePanel;
import org.openconcerto.erp.core.common.ui.IListTotalPanel;
62,12 → 62,13
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JOptionPane;
import javax.swing.JPopupMenu;
import javax.swing.JTable;
import javax.swing.SwingConstants;
import javax.swing.table.DefaultTableCellRenderer;
 
public class ListeDesDevisAction extends CreateFrameAbstractAction implements MouseListener {
public class ListeDesDevisAction extends CreateListFrameAbstractAction implements MouseListener {
 
DateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm");
 
80,6 → 81,10
IListFrame frame = null;
final DevisSQLElement element = (DevisSQLElement) Configuration.getInstance().getDirectory().getElement("DEVIS");
 
public String getTableName() {
return "DEVIS";
}
 
public JFrame createFrame() {
final String pluralName = this.element.getPluralName();
final PanelFrame frame2 = new PanelFrame(new ListeDesDevisPanel(), "Liste des " + pluralName);
128,6 → 133,8
}
ooConnexion.loadDocument(file, false);
 
} catch (LinkageError ex) {
JOptionPane.showMessageDialog(new JFrame(), "Merci d'installer OpenOffice ou LibreOffice");
} catch (Exception ex) {
ex.printStackTrace();
ExceptionHandler.handle("Impossible de charger le document OpenOffice", ex);
202,4 → 209,5
 
public void mouseExited(MouseEvent e) {
}
 
}