int oldSlotId = DesignElement.NO_SLOT;
int oldSlotId = IDesignElementModel.NO_SLOT;
	protected boolean isSameLayout( List copiedCells, List targetCells )			throws SemanticException	{		String oldContainerDefnName = null;		int oldSlotId = DesignElement.NO_SLOT;		int oldGroupId = -1;		for ( int i = 0; i < copiedCells.size( ); i++ )		{			CellContextInfo contextInfo = (CellContextInfo) copiedCells.get( i );			String containerDefnName = contextInfo.getContainerDefnName( );			int slotId = contextInfo.getSlotId( );			int groupId = contextInfo.getGroupId( );			if ( !containerDefnName.equals( oldContainerDefnName )					|| slotId != oldSlotId || groupId != oldGroupId )			{				SlotLayoutInfo info1 = getLayoutOfSlot( copiedCells,						containerDefnName, slotId, groupId );				SlotLayoutInfo info2 = getLayoutOfSlot( targetCells,						containerDefnName, slotId, groupId );				if ( !info1.isSameNumOfRows( info2 ) )					throw new SemanticError(							adapter.getElementHandle( ).getElement( ),							new String[]{adapter.getElementHandle( ).getName( )},							SemanticError.DESIGN_EXCEPTION_COLUMN_PASTE_FORBIDDEN );				if ( !info1.isSameLayoutOfRows( info2 ) )					return false;			}			oldContainerDefnName = containerDefnName;			oldSlotId = slotId;			oldGroupId = groupId;		}		return true;	}