/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package clips.doctor.newEMC.nodes.leaves.lists;
import cli_fmw.main.ClipsException;
import cli_fmw.main.PageContainer;
import clips.doctor.newEMC.init.EmcTreeNode;
import clips.doctor.newEMC.wrappers.lists.PrescriptionDloList;
import clips.doctor.prescription.PanelPrescriptionList;
import clips.doctor.prescriptiondlo.PanelPrescriptionDloList;
/**
*
* @author lacoste
*/
public class PrescriptionDloListNode extends EmcTreeNode<PrescriptionDloList, PanelPrescriptionDloList> {
public PrescriptionDloListNode(EmcTreeNode parent, PrescriptionDloList delegate) {
super(parent, delegate);
}
@Override
protected PanelPrescriptionDloList initPanel(PrescriptionDloList delegate, PageContainer pageContainer) throws ClipsException {
return new PanelPrescriptionDloList(pageContainer, delegate.getClientLocal());
}
@Override
protected String getStringValue(PrescriptionDloList delegate) {
return "Льготные рецепты";
}
}