Bug 181153 Only show dimension arrow after drag a data item into row area[1102]
Description: Only show dimension arrow after drag a data item into row area[1102] Build number: 2.2.0.v20070405-0630 Steps to reproduce: 1, New a cross tab with a dimension in row area 2, Drag a data item into the row area Expected result: On data item there is no black arrow icon Actual result: The data item has the same black arrow icon as dimension has Error log:
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/editparts/CrosstabGraphicsFactory.java
{
					return new MeasureHandleDataItemEditPart(model);
				}
			}
		}
		if ( model instanceof VirtualCrosstabCellAdapter )
		{
			return new VirtualCellEditPart( model );
		}
		if ( model instanceof CrosstabCellAdapter )
		{
			return new CrosstabCellEditPart( model );
		}
		return null;
	}
	
	private MenuManager createMenuManager(String position, EditPartViewer viewer)
	{
		if (ICrosstabCellAdapterFactory.CELL_FIRST_LEVEL_HANDLE.equals( position ))
		{
			return new LevelCrosstabPopMenuProvider(viewer);
		}
		if (ICrosstabCellAdapterFactory.CELL_MEASURE.equals( position ))
		{
			return new MeasureCrosstabPopMenuProvider(viewer);
		}
		throw new RuntimeException("Don't support this position");
	}
}