MapObject obj = group.getObjectNear(pos.x, pos.y,
mapView.getZoom());
if (obj != null) {
int tileWidth = mapView.getMap().getTileWidth();
int tileHeight = mapView.getMap().getTileHeight();
ObjectPropertyDialog dialog = new ObjectPropertyDialog(
getSite().getShell(), obj, this, tileWidth, tileHeight);
dialog.open();
mapView.redraw();
}
}
} else if (mouseButton == 2
|| (mouseButton == 1 && (event.stateMask & SWT.ALT) != 0)) {