@Override
	public float isContextMenuEnabledAt( int x, int y ) {
		if( connection.getOpenConnectionPath().intersects( x, y, 1, 1 )){
			return 1;
		}
		if( connection.getOpenConnectionPath().intersects( x-1, y-1, 3,  3 )){
			return 0.5f;
		}
		if( connection.getOpenConnectionPath().intersects( x-2, y-2, 5,  5 )){
			return 0.25f;
		}
		if( connection.getOpenConnectionPath().intersects( x-3, y-3, 7,  7 )){
			return 0.125f;
		}
		return 0f;
	}