Bug 181355 Cross tab layout behavior
- add a cross tab item - try to drag and drop a level from the cube( in data explorer ) into the cross tab layout Currently this is not supported. User can only drag dimension nodes. Expected behavior - User should be able to drag level nodes too, this should actually add dimension to the cross tabl row/column area
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/commands/AddDimensionViewHandleCommand.java
import org.eclipse.birt.report.model.api.olap.HierarchyHandle;
import org.eclipse.birt.report.model.api.olap.LevelHandle;
/**
 * Add the Dimension handle to the cross tab.When drag the Dimension handle to
 * the column or row area of the cross tab, execute the command.
 */
public class AddDimensionViewHandleCommand extends AbstractCrosstabCommand
{
	private CrosstabCellAdapter handleAdpter;
	/**
	 * Column or the row type.See the ICrosstabConstants row and column axis
	 * type.
	 */
	private int type = -1;
	private DimensionHandle dimensionHandle;
	private Object after = null;
	/**
	 * Trans name
	 */
	private static final String NAME = "Add DiminsionView";
	/**
	 * Constructor
	 * 
	 * @param handleAdpter
	 * @param type
	 * @param dimensionHandle
	 */
	public AddDimensionViewHandleCommand( CrosstabCellAdapter handleAdpter,
			int type, DimensionHandle dimensionHandle, Object after)
	{