Skip to content
Snippets Groups Projects
Commit c6c57419 authored by Lukas Ladenberger's avatar Lukas Ladenberger
Browse files

removed print statement

parent 535f9bf3
Branches
Tags
No related merge requests found
...@@ -137,24 +137,18 @@ public class BTablePart extends AppAbstractEditPart { ...@@ -137,24 +137,18 @@ public class BTablePart extends AppAbstractEditPart {
} }
private void refreshRows(BControl column, int numberOfRows) { private void refreshRows(BControl column, int numberOfRows) {
System.out.println(numberOfRows);
Integer numberOfCurrentRows = column.getChildrenArray().size(); Integer numberOfCurrentRows = column.getChildrenArray().size();
if (numberOfRows < numberOfCurrentRows) { if (numberOfRows < numberOfCurrentRows) {
for (int i = numberOfCurrentRows - 1; i >= numberOfRows; i--) { for (int i = numberOfCurrentRows - 1; i >= numberOfRows; i--) {
column.removeChild(i); column.removeChild(i);
} }
} }
for (int i = numberOfCurrentRows; i < numberOfRows; i++) { for (int i = numberOfCurrentRows; i < numberOfRows; i++) {
CreateCommand cmd = new CreateCommand(new BTableCell( CreateCommand cmd = new CreateCommand(new BTableCell(
column.getVisualization()), column); column.getVisualization()), column);
cmd.setLayout(new Rectangle(0, 0, column.getDimension().width, 20)); cmd.setLayout(new Rectangle(0, 0, column.getDimension().width, 20));
cmd.execute(); cmd.execute();
} }
} }
@Override @Override
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment