Dépôt officiel du code source de l'ERP OpenConcerto
/trunk/OpenConcerto/src/org/openconcerto/erp/core/supplychain/order/action/NouvelleCommandeAction.java |
---|
13,21 → 13,14 |
package org.openconcerto.erp.core.supplychain.order.action; |
import org.openconcerto.erp.action.CreateFrameAbstractAction; |
import org.openconcerto.sql.Configuration; |
import org.openconcerto.sql.view.EditFrame; |
import org.openconcerto.erp.action.CreateEditFrameAbstractAction; |
import org.openconcerto.erp.core.supplychain.order.element.CommandeSQLElement; |
import org.openconcerto.sql.PropsConfiguration; |
import javax.swing.Action; |
import javax.swing.JFrame; |
public class NouvelleCommandeAction extends CreateEditFrameAbstractAction<CommandeSQLElement> { |
public class NouvelleCommandeAction extends CreateFrameAbstractAction { |
public NouvelleCommandeAction() { |
super(); |
this.putValue(Action.NAME, "Commande Fournisseur"); |
public NouvelleCommandeAction(final PropsConfiguration conf) { |
super(conf, CommandeSQLElement.class); |
} |
@Override |
public JFrame createFrame() { |
return new EditFrame(Configuration.getInstance().getDirectory().getElement("COMMANDE")); |
} |
} |