/*
* 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.RecommendationList;
import clips.doctor.recommedation.PanelRecommendationList;
/**
*
* @author petr
*/
public class RecommendationListNode extends EmcTreeNode<RecommendationList, PanelRecommendationList> {
public RecommendationListNode(EmcTreeNode parent, RecommendationList delegate) {
super(parent, delegate);
}
@Override
protected PanelRecommendationList initPanel(RecommendationList delegate, PageContainer pageContainer) throws ClipsException {
return new PanelRecommendationList(pageContainer, delegate.getClientLocal());
}
@Override
protected String getStringValue(RecommendationList delegate) {
return "Рекомендации";
}
}