Bug 182000 Cross tab layout behavior
In the current approach of cross tab layout view, the arrow is associated with the first data item in the cell. - User cannot delete measure and level data items which have arrow with them. -Wenbin has concerns with the approach, as this will make the UI very restrictive. - Also user may want to delete data item and just show image in a cross tab cell. We had a discussion with Bang, and he has revised the mockups for the layout - The idea is that the arrow is associated with the cross tab cell and not data item. Let us know if there are any issues with supporting this.
xtab/org.eclipse.birt.report.item.crosstab.ui/src/org/eclipse/birt/report/item/crosstab/internal/ui/editors/editparts/CrosstabGraphicsFactory.java
*/
	public static final CrosstabGraphicsFactory INSTANCEOF = new CrosstabGraphicsFactory( );
	/* (non-Javadoc)
	 * @see org.eclipse.gef.EditPartFactory#createEditPart(org.eclipse.gef.EditPart, java.lang.Object)
	 */
	public EditPart createEditPart( EditPart context, Object model )
	{
		if ( context instanceof CrosstabCellEditPart )
		{
			if ( model instanceof DataItemHandle )
			{
				CrosstabCellAdapter adapter = ( (CrosstabCellEditPart) context ).getCrosstabCellAdapter( );
				String position = adapter.getPositionType( );
				
				if ( (ICrosstabCellAdapterFactory.CELL_FIRST_LEVEL_HANDLE.equals( position ) 
						|| ICrosstabCellAdapterFactory.CELL_MEASURE.equals( position )) && adapter.getFirstDataItem( ) == model)
				{
					FirstLevelHandleDataItemEditPart first = new FirstLevelHandleDataItemEditPart(model);
					first.setManager( createMenuManager( position, context.getViewer( )));
					return first;
				}
				else if (ICrosstabCellAdapterFactory.CELL_LEVEL_HANDLE.equals( position )
						)
				{
					
					return new LevelHandleDataItemEditPart( model );
				}
				else if (
						 
						ICrosstabCellAdapterFactory.CELL_MEASURE_HEADER.equals( position ))