 	}
 }
 
-import weave.api.WeaveAPI;
 import weave.data.AttributeColumns.ProxyColumn;
 
 /**

//			}
		}

		private function handleColumnEntities(event:ResultEvent, token:Object = null):void
		{
			if (objectWasDisposed(this))
				return;

			var hierarchyNode:XML = token as XML; // the node to add the list of columns to
			try
			{
				var entities:Array = event.result as Array
				
				// append list of attributes
				for (var i:int = 0; i < entities.length; i++)
				{
					var metadata:Object = entities[i].publicMetadata;
					var node:XML = <attribute/>;
					for (var property:String in metadata)
						if (metadata[property])

			var leafNode:XML = HierarchyUtils.getLeafNodeFromPath(pathInHierarchy) || <empty/>;
			proxyColumn.setMetadata(leafNode.copy());
			
			// get metadata properties from XML attributes
			var params:Object = new Object();
			const ID:String = 'id';
			const SQLPARAMS:String = 'sqlParams';
			var queryProperties:Array = [
				ID, SQLPARAMS,
				ColumnMetadata.DATA_TYPE, ColumnMetadata.MIN, ColumnMetadata.MAX,
				'dataTable', 'name', 'year'
			]; // use only these properties for querying
			for each (var attr:String in queryProperties)
			{
				var value:String = leafNode.attribute(attr);
				if (value)
					params[attr] = value;
			}
			
			var columnRequestToken:ColumnRequestToken = new ColumnRequestToken(pathInHierarchy, proxyColumn);
			var query:AsyncToken;
			if (params[ID])
			{
				var sqlParams:Array = VectorUtils.flatten(WeaveAPI.CSVParser.parseCSV(params[SQLPARAMS]));
				query = dataService.getColumn(params[ID], params[ColumnMetadata.MIN], params[ColumnMetadata.MAX], sqlParams);
			}
			else // backwards compatibility - search using metadata
			{
				if (params[ColumnMetadata.DATA_TYPE] != DataTypes.GEOMETRY)
					delete params[ColumnMetadata.DATA_TYPE];
				
				query = dataService.getColumnFromMetadata(params);
			}
			addAsyncResponder(query, handleGetAttributeColumn, handleGetAttributeColumnFault, columnRequestToken);
			WeaveAPI.SessionManager.assignBusyTask(query, proxyColumn);
		}
