}
}
//line Begin for each line
for (int v = 0; v < score.getAllStaff().get(s).childContexts.size(); v++) {
//Voices
ASTLineBegin line = new ASTLineBegin(ParserTreeConstants.JJTLINEBEGIN);
line.setParentContext(score.getAllStaff().get(s).childContexts.elementAt(v));
// line.staff=score.getAllStaff().get(s);
line.keySignature = key.signature;
line.generated = false; //if true then can not be clicked
line.clef = clef.clef;
line.setBeattime(beatTime);
allLineBegins.add(line);
LineBeginLayout.testLayout(new LayoutEnv(), line);
calcLayout(new LayoutEnv(), line);
}
}