/*
* 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.delegate.doctor.checkup.CheckupLocal;
import clips.doctor.checkup.viewAnalyseList.PanelCheckupList;
import clips.doctor.newEMC.init.EmcTreeNode;
import clips.doctor.newEMC.wrappers.lists.CheckupList;
/**
*
* @author petr
*/
public class CheckupListNode extends EmcTreeNode<CheckupList, PanelCheckupList> {
public CheckupListNode(EmcTreeNode parent, CheckupList delegate) {
super(parent, delegate);
}
@Override
protected PanelCheckupList initPanel(CheckupList delegate, PageContainer pageContainer) throws ClipsException {
return new PanelCheckupList(pageContainer, delegate.getClientLocal());
}
@Override
protected String getStringValue(CheckupList delegate) {
return "Осмотры";
}
}