}
} ));
}
public void checkin(final boolean closeAfter) {
final CheckinPopup pop = new CheckinPopup( constants.CheckInChanges() );
pop.setCommand( new Command() {
public void execute() {
String comment = pop.getCheckinComment();
for (RuleViewer ruleViewer : ruleViews.values()) {
doCheckin(ruleViewer.getAssetEditor(), ruleViewer.asset, comment, false );
}
if ( closeAfter ) {
close();
}
}
} );
pop.show();
}