private ZoomModel zoomModel;
private AppearanceEditHandler editHandler;
public AppearanceView() {
attrs = new DrawingAttributeSet();
SelectTool selectTool = new SelectTool();
canvas = new AppearanceCanvas(selectTool);
toolbarModel = new AppearanceToolbarModel(selectTool, canvas, attrs);
zoomModel = new BasicZoomModel(AppPreferences.APPEARANCE_SHOW_GRID,
AppPreferences.APPEARANCE_ZOOM, ZOOM_OPTIONS);
canvas.getGridPainter().setZoomModel(zoomModel);