Package org.openscience.jchempaint.renderer.selection

Examples of org.openscience.jchempaint.renderer.selection.AtomContainerSelection


    public IRenderingElement generate(IAtomContainer ac, RendererModel model) {
        JChemPaintRendererModel jcpModel = (JChemPaintRendererModel) model;
        if(model.getExternalSelectedPart()==null)
            return new ElementGroup();
        Color selectionColor = jcpModel.getExternalHighlightColor();
        IChemObjectSelection selection = new AtomContainerSelection(model.getExternalSelectedPart());
        return generate(selection, selectionColor, jcpModel);
    }
View Full Code Here


    public IRenderingElement generate(IAtomContainer ac, RendererModel model) {
        JChemPaintRendererModel jcpModel = (JChemPaintRendererModel) model;
        if(model.getExternalSelectedPart()==null)
            return new ElementGroup();
        Color selectionColor = jcpModel.getExternalHighlightColor();
        IChemObjectSelection selection = new AtomContainerSelection(model.getExternalSelectedPart());
        return generate(selection, selectionColor, jcpModel);
    }
View Full Code Here

TOP

Related Classes of org.openscience.jchempaint.renderer.selection.AtomContainerSelection

Copyright © 2018 www.massapicom. 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.