if (isFirst.staffInPart) { if (barline.getShape() != omr.glyph.Shape.SINGLE_BARLINE) { proxymusic.Barline pmBarline = new proxymusic.Barline(); current.pmMeasure.getNoteOrBackupOrForward() .add(pmBarline); pmBarline.setLocation("right");
if (barline.getShape() != omr.glyph.Shape.SINGLE_BARLINE) { proxymusic.Barline pmBarline = new proxymusic.Barline(); current.pmMeasure.getNoteOrBackupOrForward() .add(pmBarline); pmBarline.setLocation("right");
    public boolean visit (Barline barline)    {        if (isFirst.staffInPart) {            if (barline.getShape() != omr.glyph.Shape.SINGLE_BARLINE) {                proxymusic.Barline pmBarline = new proxymusic.Barline();                current.pmMeasure.getNoteOrBackupOrForward()                                 .add(pmBarline);                pmBarline.setLocation("right");                BarStyle barStyle = new BarStyle();                pmBarline.getContent()                         .add(barStyle);                barStyle.setContent(barStyleOf(barline.getShape()));            }        }        return true;    }