/*
* 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.invalidity.PanelInvalidityList;
import clips.doctor.newEMC.init.EmcTreeNode;
import clips.doctor.newEMC.wrappers.lists.InvalidityList;
/**
*
* @author petr
*/
public class InvalidityListNode extends EmcTreeNode<InvalidityList, PanelInvalidityList> {
public InvalidityListNode(EmcTreeNode parent, InvalidityList delegate) {
super(parent, delegate);
}
@Override
protected PanelInvalidityList initPanel(InvalidityList delegate, PageContainer pageContainer) throws ClipsException {
return new PanelInvalidityList(pageContainer, delegate.getClientLocal());
}
@Override
protected String getStringValue(InvalidityList delegate) {
return "Направления на МСЭК";
}
}