001package jmri.jmrit.display.layoutEditor;
002
003import java.awt.geom.*;
004import javax.annotation.*;
005
006/**
007 * MVC View component for the LayoutSingleSlip class.
008 *
009 * @author Bob Jacobsen  Copyright (c) 2020
010 * 
011 */
012public class LayoutSingleSlipView extends LayoutSlipView {
013
014    /**
015     * Constructor method.
016     * @param slip the slip to create view for.
017     * @param c       where to put it
018     * @param rot     for display
019     * @param layoutEditor what layout editor panel to put it in
020     */
021    public LayoutSingleSlipView(@Nonnull LayoutSingleSlip slip, Point2D c, double rot, @Nonnull LayoutEditor layoutEditor) {
022        super(slip, c, rot, layoutEditor);
023        // this.slip = slip;
024
025        editor = new jmri.jmrit.display.layoutEditor.LayoutEditorDialogs.LayoutSingleSlipEditor(layoutEditor);
026    }
027        
028    // final private LayoutSingleSlip slip;
029
030    // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LayoutSingleSlipView.class);
031}