OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 149 | Rev 174 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 149 Rev 156
Line 53... Line 53...
53
import javax.swing.AbstractAction;
53
import javax.swing.AbstractAction;
54
 
54
 
55
public class DemandeAchatItemSQLElement extends ComptaSQLConfElement {
55
public class DemandeAchatItemSQLElement extends ComptaSQLConfElement {
56
 
56
 
57
    public DemandeAchatItemSQLElement() {
57
    public DemandeAchatItemSQLElement() {
58
        super("DEMANDE_ACHAT_ELEMENT", "une demande d'achat", "demandes d'achat");
58
        super("DEMANDE_ACHAT_ELEMENT");
59
        {
59
        {
60
            PredicateRowAction actionP = new PredicateRowAction(new AbstractAction("Créer à partir de") {
60
            PredicateRowAction actionP = new PredicateRowAction(new AbstractAction("Créer à partir de") {
61
 
61
 
62
                @Override
62
                @Override
63
                public void actionPerformed(ActionEvent e) {
63
                public void actionPerformed(ActionEvent e) {
Line 414... Line 414...
414
        return new DemandeAchatItemSQLComponent(this);
414
        return new DemandeAchatItemSQLComponent(this);
415
    }
415
    }
416
 
416
 
417
    @Override
417
    @Override
418
    protected String createCode() {
418
    protected String createCode() {
419
        return createCodeFromPackage() + ".demande.achat";
419
        return createCodeOfPackage() + ".demande.achat";
420
    }
420
    }
421
 
421
 
422
}
422
}