if ( query != null )
if ( query == null )
		private void transferVisibility( ColumnDesign column )		{			IBaseQueryDefinition query = getParentQuery( );			if ( query != null )			{				return;			}					List expressions = new ArrayList( );			VisibilityDesign visibilities = column.getVisibility( );			if ( visibilities != null )			{				// get new expression bindings of this column's visibilities				for ( int i = 0; i < visibilities.count( ); i++ )				{					expressions							.add( visibilities.getRule( i ).getExpression( ) );				}				ITotalExprBindings totalExpressionBindings = ExpressionUtil					.prepareTotalExpressions( expressions, getCurrentGroupName( ) );								// add new column bindings to the query 				addNewColumnBindings( query, totalExpressionBindings );								// replace old expressions				int expressionIndex = 0;				List newExpressions = totalExpressionBindings.getNewExpression( );				for ( int i = 0; i < visibilities.count( ); i++ )				{					visibilities.getRule( i ).setExpression(							(String) newExpressions.get( expressionIndex++ ) );				}			}		}	