Package clips.doctor.newEMC.nodes.leaves

Source Code of clips.doctor.newEMC.nodes.leaves.RecommendationNode

/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/

package clips.doctor.newEMC.nodes.leaves;

import cli_fmw.main.ClipsException;
import cli_fmw.main.PageContainer;
import clips.doctor.newEMC.init.generic.DelegateNode;
import clips.delegate.doctor.RecommendationLocal;
import clips.doctor.newEMC.init.EmcTreeNode;
import clips.doctor.newEMC.init.generic.DelegateNodeInterface;
import clips.doctor.recommedation.PanelRecomendation;
import java.util.List;

/**
*
* @author petr
*/
public class RecommendationNode extends EmcTreeNode<RecommendationLocal, PanelRecomendation> {

    public RecommendationNode(EmcTreeNode parent, RecommendationLocal delegate) {
        super(parent, delegate);
    }

    @Override
    protected PanelRecomendation initPanel(RecommendationLocal delegate, PageContainer pageContainer) throws ClipsException {
        return new PanelRecomendation(pageContainer, delegate);
    }

    @Override
    protected int getChildrenCount(RecommendationLocal delegate) throws ClipsException {
        return 0;
    }

    @Override
    public List<DelegateNodeInterface> getChildren(RecommendationLocal delegate) throws ClipsException {
        return null;
    }

    @Override
    protected String getStringValue(RecommendationLocal delegate) {
        return delegate.toString();
    }

}
TOP

Related Classes of clips.doctor.newEMC.nodes.leaves.RecommendationNode

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.