drawingSurface.setBlockNavigatorRedrawOnce(true);
public void moveOrigin(int direction){	int dx = 0; 	int dy = 0;	int d = (int)(100*ViewState.getInstance().getScale()); 		switch (direction)	{		case SwingConstants.WEST:			dx =- d;			break;		case SwingConstants.EAST:			dx =+ d;			break;		case SwingConstants.NORTH:			dy =+ d;			break;		case SwingConstants.SOUTH:			dy =- d;			break;	}		if (ViewState.getInstance().moveOrigin(dx, dy))	{		drawingSurface.recalculateNavigatorPosition();		drawingSurface.repaint();	}}