new PolyTool(true, attrs),
};
ArrayList<ToolbarItem> rawItems = new ArrayList<ToolbarItem>();
for (AbstractTool tool : tools) {
rawItems.add(new ToolbarToolItem(tool));
}
items = Collections.unmodifiableList(rawItems);
canvas.addPropertyChangeListener(Canvas.TOOL_PROPERTY, this);
}