/*
* 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.checkup.viewAnalyseList.PanelAnalyseList;
import clips.doctor.newEMC.init.EmcTreeNode;
import clips.doctor.newEMC.wrappers.lists.AnalyseList;
import clips.doctor.newEMC.wrappers.lists.PrescriptionList;
import clips.doctor.prescription.PanelPrescriptionList;
/**
*
* @author petr
*/
public class PrescriptionListNode extends EmcTreeNode<PrescriptionList, PanelPrescriptionList> {
public PrescriptionListNode(EmcTreeNode parent, PrescriptionList delegate) {
super(parent, delegate);
}
@Override
protected PanelPrescriptionList initPanel(PrescriptionList delegate, PageContainer pageContainer) throws ClipsException {
return new PanelPrescriptionList(pageContainer, delegate.getClientLocal());
}
@Override
protected String getStringValue(PrescriptionList delegate) {
return "Назначения";
}
}