}
}
public Canvas getViewPanel() {
Tree grid1Tree = new Tree();
grid1Tree.setModelType(TreeModelType.CHILDREN);
grid1Tree.setNameProperty("Name");
grid1Tree.setRoot(new PartsTreeNode("Root",
new PartsTreeNode("Bin 1",
new PartsTreeNode("Blue Cube", "cube_blue.png"),
new PartsTreeNode("Yellow Cube", "cube_yellow.png"),
new PartsTreeNode("Green Cube", "cube_green.png")
),
new PartsTreeNode("Bin 2",
new PartsTreeNode("Blue Piece", "pawn_blue.png"),
new PartsTreeNode("Green Piece", "pawn_green.png"),
new PartsTreeNode("Yellow Piece", "pawn_yellow.png")
)
));
final PartsTreeGrid grid1 = new PartsTreeGrid();
grid1.setDragDataAction(DragDataAction.MOVE);
grid1.setData(grid1Tree);
grid1.getData().openAll();
Tree grid2Tree = new Tree();
grid2Tree.setModelType(TreeModelType.CHILDREN);
grid2Tree.setNameProperty("Name");
grid2Tree.setRoot(new PartsTreeNode("Root",
new PartsTreeNode("Bin 3",
new PartsTreeNode("Blue Part", "piece_blue.png"),
new PartsTreeNode("Green Part", "piece_green.png"),
new PartsTreeNode("Yellow Part", "piece_yellow.png")
)