double scale = aPaintContext.getScale();
PCamera camera = aPaintContext.getCamera(); double scale = camera.getViewScale();
	protected void paint(PPaintContext aPaintContext) {		double scale = aPaintContext.getScale();		if (scale < Constants.SCALE_THRESHOLD) {			params.setVisible(false);			modules.setVisible(true);		}		else {			params.setVisible(true);			modules.setVisible(false);		}	}